DeleteString (Subsystem subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
(13 intermediate revisions by 3 users not shown)
Line 5: Line 5:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th><var>%(Subsystem)</var></th>
<tr><th><var class="nobr">%(Subsystem)</var></th>
<td>The class name in parentheses denotes a shared method. <var>DeleteString</var> can also be invoked via a <var>[[Subsystem_class|SubSystem]]</var> 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>DeleteString</var> can also be invoked via a <var>[[Subsystem_class|SubSystem]]</var> object variable, which may be <var>null</var>.</td></tr>
<tr><th>string</th>
<tr><th>string</th>
<td>A string that identifies the string to be deleted.</td></tr>
<td>The string to be deleted.</td></tr>
</table>
</table>


Line 18: Line 18:


==Examples==
==Examples==
The following statement deletes the Subsystem string called LUGUBRIOUS:
The following statement deletes the subsystem string called <code>LUGUBRIOUS</code>:
<p class="code">%(subsystem):deleteString('LUGUBRIOUS')</p>
<p class="code">%(subsystem):deleteString('LUGUBRIOUS')</p>


==See also==
==See also==
{{Template:Subsystem:DeleteString footer}}
{{Template:Subsystem:DeleteString footer}}

Latest revision as of 00:31, 16 February 2014

Delete a subsystem string (Subsystem class)


Syntax

%(Subsystem):DeleteString( string)

Syntax terms

%(Subsystem) The class name in parentheses denotes a shared method. DeleteString can also be invoked via a SubSystem object variable, which may be null.
string The string to be deleted.

Usage notes

  • All errors result in request cancellation.
  • It is not an error to delete a string that is not set.
  • DeleteString deletes the string referenced by name for the current subsystem context. You can identify the current context by calling the Context property

Examples

The following statement deletes the subsystem string called LUGUBRIOUS:

%(subsystem):deleteString('LUGUBRIOUS')

See also