NullifyGlobal (Object subroutine)

From m204wiki
Revision as of 22:21, 12 August 2014 by JAL (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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