DeleteString (System subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
m (Undo revision 27939 by Dme (talk))
Line 1: Line 1:
{{Template:System:DeleteString subtitle}}
{{Template:System:DeleteString subtitle}}
The <var>DeleteString</var> shared subroutine deletes a <var>[[System_class|System]]</var> string.
==Syntax==
==Syntax==
{{Template:System:DeleteString syntax}}
{{Template:System:DeleteString syntax}}

Revision as of 19:25, 27 March 2011

Delete a system-wide string (System class)

The DeleteString shared subroutine deletes a System string.

Syntax

%(System):DeleteString( string)

Syntax terms

%(System) The class name in parentheses denotes a shared method. DeleteString can also be invoked via a System object variable, which may be null.
string A string that identifies 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.

Examples

  1. The following statement deletes the System string called MELANCHOLIC:

    %(system):deleteString('MELANCHOLIC')

See also