DiscardGlobals (Object subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
Line 7: Line 7:
<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>DiscardGlobals</var> can also be invoked via an <var>Object</var> class object variable, which may be <var>Null</var>.</td></tr>
<td>The class name in parentheses denotes a [[Notation conventions for methods#Shared methods|shared method]]. <var>DiscardGlobals</var> can also be invoked via an <var>Object</var> class object variable, which may be <var>Null</var>.</td></tr>


<tr><th>matchString</th>
<tr><th>matchString</th>

Revision as of 16:37, 7 August 2014

Discard global objects (Object class)


Syntax

%(Object):DiscardGlobals( matchString)

Syntax terms

%(Object) The class name in parentheses denotes a shared method. DiscardGlobals 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. Objects referenced by global names matched by matchString are discarded.

Usage notes

If any global names matched by matchString do not reference an object, this method does nothing.

Examples

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

See also