GetGlobal (Object subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
mNo edit summary
 
Line 1: Line 1:
{{Template:Object:GetGlobal subtitle}}
{{Template:Object:GetGlobal subtitle}}


This page is [[under construction]].
==Syntax==
==Syntax==
{{Template:Object:GetGlobal syntax}}
{{Template:Object:GetGlobal syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th nowrap="true"><var>%(Object)</var></th>
<tr><th nowrap="true"><var>%(Object)</var></th>
<td>The class name in parentheses denotes a shared method. <var>GetGlobal</var> can also be invoked via a <var>Object</var> object variable, which may be <var>Null</var>.</td></tr>
<td>The class name in parentheses denotes a [[Notation conventions for methods#Shared methods|shared method]]. <var>GetGlobal</var> can also be invoked via an <var>Object</var> class object variable, which may be <var>Null</var>.</td></tr>
 
<tr><th>name</th>
<tr><th>name</th>
<td>string</td></tr>
<td>A string that specifies a global name that references an object. </td></tr>
 
<tr><th>target</th>
<tr><th>target</th>
<td><var>Object</var> object</td></tr>
<td>An <var>Object</var> class object variable to be set by <var>GetGlobal</var> to reference the object referenced by the global name <var class="term">name</var>. </td></tr>
</table>
</table>
==Usage notes==
==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==
See [[Global and session objects#Using system class methods to access global and session objects|Using system class methods to access global and session objects]].
==See also==
==See also==
{{Template:Object:GetGlobal footer}}
{{Template:Object:GetGlobal footer}}

Latest revision as of 22:39, 8 August 2014

Retrieve global object reference (Object class)


Syntax

%(Object):GetGlobal( name, target)

Syntax terms

%(Object) The class name in parentheses denotes a shared method. GetGlobal 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.
target An Object class object variable to be set by GetGlobal to reference the object referenced by the global name name.

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.

See also