Difference between revisions of "DeleteVar"
From Wiki
(→See Also) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{command header|Obsolete}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | {{body|deleteVar {variable name}|The [[deleteVar]] command deletes the content of a variable.}} | |
− | The [[deleteVar]] command deletes the content of a variable. | + | |
− | + | ||
− | + | ||
− | |||
− | Note | + | {{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. | + | *The deleteVar command is deprecated since the set command can now assign an empty string value to a variable.}} |
− | + | ||
Line 30: | Line 22: | ||
...</pre> | ...</pre> | ||
− | + | ||
− | { | + | =See Also= |
− | + | {{Obsolete}} | |
− | + | ||
− | + | ||
− | { | + | |
− | + | ||
− | + | ||
− | + |
Latest revision as of 12:20, 13 September 2007
Synopsis
deleteVar {variable name}
Description
The deleteVar command deletes the content of a variable.
Note: |
|
Example
... ; set %test to something set %test TEST ; note there is no % char in front. deleteVar test ; %test now holds nothing ...
See Also
Obsolete
- Obsolete commands that are only used for backward compatibility.
deleteVar | Sets a variable to an empty string |
initEvents | Initializes all event commands |