DeleteGlobal (System subroutine): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 1: | Line 1: | ||
{{Template:System:DeleteGlobal subtitle}} | {{Template:System:DeleteGlobal subtitle}} | ||
The <var>DeleteGlobal</var> shared subroutine deletes a system global. | The <var>DeleteGlobal</var> shared subroutine deletes a [[System class#System classes and objects|system global]]. | ||
==Syntax== | ==Syntax== |
Revision as of 19:21, 27 March 2011
Delete a system-wide global (System class)
The DeleteGlobal shared subroutine deletes a system 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')