NullifyGlobals (Object subroutine)
Clear global object references (Object class)
Syntax
%(Object):NullifyGlobals( matchString)
Syntax terms
%(Object) | The class name in parentheses denotes a shared method. NullifyGlobals can also be invoked via an Object class object variable, which may be Null. |
---|---|
matchString | A "wildcard" string that is applied to the set of global names. The object references of all global names that are matched by matchString are nullified.
If the matchString value is an asterisk (*), all object references of global names are nullified. |
Usage notes
If no global names matched by matchString reference an object, this method does nothing.
Examples
See Using system class methods to access global and session objects.