Difference between revisions of "MC-Basic:DELETEVAR"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Write-Only" to "Write only")
m
Line 28: Line 28:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Write only. Operates only on global variables
+
*Write only.
 +
*Operates only on global variables
  
 
|EXAMPLE=
 
|EXAMPLE=
DeleteVar int1<br>
+
<pre>DeleteVar int1
 
+
DeleteVar int*                    'Deletes all variables starting with int
DeleteVar int*                                             ' Deletes all variables starting with int
+
</pre>
  
 
|SEE ALSO=
 
|SEE ALSO=

Revision as of 11:47, 23 April 2014

This command deletes the defined variable or user-defined exception from the symbol table. Only one variable at a time CAM be deleted, but wildcards can be used.

Syntax

DeleteVar <variable>

Availability

All versions

Range

Existing variable names

Scope

Task or Terminal

Limitations

  • Write only.
  • Operates only on global variables

Examples

DeleteVar int1
DeleteVar int*                    'Deletes all variables starting with int

See Also