SetGlobal (Object subroutine): Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Template:Object:SetGlobal subtitle}} | {{Template:Object:SetGlobal subtitle}} | ||
==Syntax== | ==Syntax== | ||
{{Template:Object:SetGlobal syntax}} | {{Template:Object:SetGlobal 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>SetGlobal</var> can also be invoked via | <td>The class name in parentheses denotes a [[Notation conventions for methods#Shared methods|shared method]]. <var>SetGlobal</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 the global name.</td></tr> | ||
<tr><th>source</th> | <tr><th>source</th> | ||
<td><var>Object</var> object</td></tr> | <td>This <var>Object</var> class object variable is set by <var>SetGlobal</var> to be referenced by the global name <var class="term">name</var>. | ||
<p> | |||
<var class="term">source</var> can be a %variable, a structure member, or a class member inside an object. | |||
</p></td></tr> | |||
</table> | </table> | ||
==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:SetGlobal footer}} | {{Template:Object:SetGlobal footer}} |
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.