DeleteString (System subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Undo revision 27939 by Dme (talk))
mNo edit summary
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.
The <var>DeleteString</var> shared subroutine deletes a [[System class#System and subsystem globals and strings|system-wide string]].


==Syntax==
==Syntax==

Revision as of 19:25, 27 March 2011

Delete a system-wide string (System class)

The DeleteString shared subroutine deletes a system-wide 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