# GB.ReturnObject

void GB.ReturnObject ( void * val )

Returns any object reference to the caller of the method or property.

val is the object reference to be returned.

The return value is automatically converted to the class specified in the method or property signature.

Be careful ! This function does not abort the method or property. You must explicitely return from it by using the `return` instruction.