GetSession (Object subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 20: Line 20:
<li>If <var class="term">name</var> does not reference an object, <var>GetSession</var> sets <var class="term">target</var> to <var>Null</var>. </li>
<li>If <var class="term">name</var> does not reference an object, <var>GetSession</var> sets <var class="term">target</var> to <var>Null</var>. </li>


<li>If no session is open, the request is cancelled.</li>
<li>If the specified session is not open, the request is cancelled.</li>
</ul>
</ul>



Latest revision as of 22:39, 8 August 2014

Retrieve session object reference (Object class)


Syntax

%(Object):GetSession( name, target)

Syntax terms

%(Object) The class name in parentheses denotes a shared method. GetSession can also be invoked via an Object class object variable, which may be Null.
name A string that specifies a session name that references an object.
target An Object class object variable to be set by GetSession to reference the object referenced by the session name name.

Usage notes

  • If name does not reference an object, GetSession sets target to Null.
  • If the specified session is not open, the request is cancelled.

Examples

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

See also