Difference between revisions of "MC-Basic:DELETEVAR"

From SoftMC-Wiki
Jump to: navigation, search
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<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=
* [[Axystems:MC-Basic:VARLIST|VARLIST]]
+
* [[MC-Basic:VARLIST|VARLIST]]
  
[[Category:Axystems:MC-Basic:Declarations|DELETEVAR]]
+
[[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

See Also