SetGlobal (Object subroutine)
Set global object reference (Object class)
Syntax
%(Object):SetGlobal( name, source)
Syntax terms
%(Object) | The class name in parentheses denotes a shared method. SetGlobal can also be invoked via an Object class object variable, which may be Null. |
---|---|
name | A string that specifies a global name that references an object. |
source | This Object class object variable is set by SetGlobal to be referenced by the global name name.
source can be a %variable, a structure member, or a class member inside an object. |
Usage notes
If name does not reference an object, GetGlobal sets target to Null.
Examples
See Using system class methods to access global and session objects.