Var: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= var = | |||
Usage: var ''variable'' ... | Usage: var ''variable'' ... | ||
Latest revision as of 19:18, 28 January 2009
var
Usage: var variable ...
The "var" statement declares variables as local variables of the current macro or user-defined command. In contrast to normal (global) variables, local variables are only visible within the macro where they are declared and within macros that are called through that macro (except when such a macro declares a local variable with the same name). The "var" command must precede any other commands in a macro (except the "parameter" command) and cannot be used interactively.