Difference between revisions of "MC-Basic:DELETEVAR"

From SoftMC-Wiki
Jump to: navigation, search
(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-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: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