DeleteGlobal (System subroutine)

From m204wiki
Revision as of 10:38, 19 March 2011 by Goff (talk | contribs) (stolen from the pdf)
Jump to navigation Jump to search

Delete a system-wide global (System class)

The DeleteGlobal shared subroutine deletes a subsystem 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.
  • The Subsystem class DeleteGlobal deletes the global referenced by name for the current subsystem context. You can identify the current context by calling the Context property.

Examples

  1. The following statement deletes the system global called SANGUINIC:

    %(system):deleteGlobal('SANGUINIC')

See also