Difference between revisions of "MC-Basic:DELETEVAR"
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= DeleteVar ''<variable>'' |AVAILABILITY= All versions |DESCRIPTION= This command deletes the defined variable or user-defined exception from t…') |
|||
(6 intermediate revisions by 4 users not shown) | |||
Line 28: | Line 28: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | Write | + | *Write only. |
+ | *Operates only on global variables | ||
|EXAMPLE= | |EXAMPLE= | ||
− | DeleteVar int1 | + | <pre>DeleteVar int1 |
− | + | DeleteVar int* 'Deletes all variables starting with int | |
− | DeleteVar int* | + | </pre> |
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:VARLIST|VARLIST]] |
+ | [[Category:MC-Basic:Declarations|DELETEVAR]] | ||
}} | }} |
Latest revision as of 09:14, 22 May 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