NullifyGlobal (Object subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 15: Line 15:
==Usage notes==
==Usage notes==
<ul>
<ul>
<li><var>NullifyGlobal</var> sets the object reference of the <var class="term">name</var> global name to Null, that is, referencing nothing. </li>
<li><var>NullifyGlobal</var> sets the object reference of the <var class="term">name</var> global name to <var>Null</var>, that is, referencing nothing. </li>


<li>If the specified global name does not reference an object, this method does nothing. </li>
<li>If the specified global name does not reference an object, this method does nothing. </li>

Latest revision as of 22:21, 12 August 2014

Clear global object reference (Object class)


Syntax

%(Object):NullifyGlobal( name)

Syntax terms

%(Object) The class name in parentheses denotes a shared method. NullifyGlobal can also be invoked via an Object class object variable, which may be Null.
name A string that specifies the global name that is to be nullified.

Usage notes

  • NullifyGlobal sets the object reference of the name global name to Null, that is, referencing nothing.
  • If the specified global name does not reference an object, this method does nothing.

Examples

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

See also