DeleteGlobal (System subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
m (stolen from the pdf)
Line 1: Line 1:
{{Template:System:DeleteGlobal subtitle}}
{{Template:System:DeleteGlobal subtitle}}
The <var>DeleteGlobal</var> shared subroutine deletes a subsystem global.


==Syntax==
==Syntax==
Line 5: Line 6:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>(System)</th>
<tr><th>%(System)</th>
<td>The class name in parentheses denotes a shared method. DeleteGlobal can also be invoked via a System object variable, which may be null.</td></tr>
<td>The class name in parentheses denotes a shared method. <var>DeleteGlobal</var> can also be invoked via a <var>[[System_class|System]]</var> object variable, which may be null.</td></tr>
<tr><th>string</th>
<tr><th>string</th>
<td><var>String</var> object</td></tr>
<td>A string that identifies the global to be deleted.</td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
<ul><li>All errors result in request cancellation.
<li>It is not an error to delete a global that is not set.
<li>The Subsystem class <var>DeleteGlobal</var> deletes the global referenced by name for the current subsystem context. You can identify the current context by calling the <var>[[Context_(Subsystem_property)|Context]]</var> property.
</ul>
==Examples==
==Examples==
<ol><li>The following statement deletes the system global called SANGUINIC:
<p class="code">%(system):deleteGlobal('SANGUINIC')
</p></ol>
==See also==
==See also==
{{Template:System:DeleteGlobal footer}}
{{Template:System:DeleteGlobal footer}}

Revision as of 10:38, 19 March 2011

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