Difference between revisions of "DeleteVar"

From Wiki
Jump to: navigation, search
m (See Also: put links in table)
(Description: Applying template to note)
Line 8: Line 8:
 
The [[deleteVar]] command deletes the content of a variable.
 
The [[deleteVar]] command deletes the content of a variable.
  
''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 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.}}
  
  

Revision as of 16:09, 26 August 2005

deleteVar

Obsolete

Synopsis

deleteVar {variable name}

Description

The deleteVar command deletes the content of a variable.


Note:
  • 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