Var

From CYANA Wiki
Jump to navigation Jump to search

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.