Caller
(Engine-Level Function)
Description: | Takes a given object value for a module and returns the object value of the module by which it was called. |
Returns: | Object |
Usage: | Script or steady state. |
Function Groups: | Compilation and On-Line Modifications, Basic Module |
Related to: | FindVariable | Self |
Format: | Caller(Object) |
Parameters: |
Object |
Required. An object value that specifies the instance whose caller is desired. |
Example:
Obj = Caller(Self());
This assigns the pointer to the caller of the current module to variable Obj.