Var: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
(No difference)
|
Revision as of 18:08, 28 January 2009
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.