SetGlobal (Object subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:


<tr><th>name</th>
<tr><th>name</th>
<td>A string that specifies a global name that references an object.</td></tr>
<td>A string that specifies the global name.</td></tr>


<tr><th>source</th>
<tr><th>source</th>
Line 18: Line 18:
</p></td></tr>
</p></td></tr>
</table>
</table>
==Usage notes==
If <var class="term">name</var> does not reference an object, <var>GetGlobal</var> sets <var class="term">target</var> to <var>Null</var>.


==Examples==
==Examples==

Latest revision as of 23:11, 12 August 2014

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 the global name.
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.

Examples

See Using system class methods to access global and session objects.

See also