DeleteGlobal (System subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
Line 18: Line 18:


==Examples==
==Examples==
The following statement deletes the system global called SANGUINIC:
The following statement deletes the system global called <code>SANGUINIC</code>:
<p class="code">%(system):deleteGlobal('SANGUINIC')  
<p class="code">%(system):deleteGlobal('SANGUINIC')  
</p>
</p>

Revision as of 19:51, 16 November 2012

Delete a system-wide global (System class)

The DeleteGlobal shared subroutine deletes a system-wide global.

Syntax

%(System):DeleteGlobal( string)

Syntax terms

%(System) The class name in parentheses denotes a shared method. DeleteGlobal can also be invoked via a System object variable, which may be null.
string A string that identifies the global to be deleted.

Usage notes

  • All errors result in request cancellation.
  • It is not an error to delete a global that is not set.

Examples

The following statement deletes the system global called SANGUINIC:

%(system):deleteGlobal('SANGUINIC')

See also