Difference between revisions of "MC-Basic:DELETEVAR"
m (Text replace - "Write-Only" to "Write only") |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 28: | Line 28: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | Write only. Operates only on global variables | + | *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 | + | [[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