Difference between revisions of "DeleteVar"

From Wiki
Jump to: navigation, search
(See Also)
m (Description: changed format to match note standard)
Line 7: Line 7:
 
=== Description ===
 
=== Description ===
 
The [[deleteVar]] command deletes the content of a variable.
 
The [[deleteVar]] command deletes the content of a variable.
<pre>
 
Note
 
  
The content can only be deleted if the variable has already been assigned to.
+
''Notes:''
 
+
*''The content can only be deleted if the variable has already been assigned to.''
Note
+
*''The deleteVar command is deprecated since the set command can now assign an empty string value to a variable.''
 
+
The deleteVar command is deprecated since the set command can now assign an empty string value to a variable.
+
</pre>
+
  
  

Revision as of 16:38, 24 August 2005

deleteVar

Obsolete

Synopsis

deleteVar {variable name}

Description

The deleteVar command deletes the content of a variable.

Notes:

  • The content can only be deleted if the variable has already been assigned to.
  • The deleteVar command is deprecated since the set command can now assign an empty string value to a variable.


Example

...
; set %test to something
set %test TEST

; note there is no % char in front.
deleteVar test

; %test now holds nothing
...

See Also

set Variables

Main_Page Documentation

Obsolete