Difference between revisions of "DeleteVar"

From Wiki
Jump to: navigation, search
(Description: Applying template to note)
(Applying templates (header, body, footer))
Line 1: Line 1:
__NOTOC__
+
{{command header|Obsolete}}
== deleteVar ==
+
'''Obsolete'''
+
=== Synopsis ===
+
[[deleteVar]] {variable name}
+
  
=== Description ===
+
{{body|deleteVar {variable name}|The [[deleteVar]] command deletes the content of a variable.}}
The [[deleteVar]] command deletes the content of a variable.
+
  
  
Line 27: Line 22:
 
...</pre>
 
...</pre>
  
==== See Also ====
+
 
{|
+
{{footer}}
| Width=200px | [[set]] || Width=200px | [[Variables]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px |
+
[[Documentation#Obsolete |Obsolete ]]
+
|}
+

Revision as of 04:43, 26 September 2005


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

Main Page Documentation