INCLAN: var: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
Line 1: | Line 1: | ||
== Synopsis == | |||
'''var''' ''variable'' ... | |||
== Description == | |||
macro | |||
local variables are only visible within the macro where they are declared | Declares ''variables'' as local variables of the current macro. In contrast to normal (global) variables, local variables are only visible within the macro where they are declared and within macros that are called via that macro (except when such a macro declares itself 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. | ||
and within macros that are called | |||
macro declares a local variable with the same name). The | |||
precede any other commands in a macro (except the | |||
cannot be used interactively. |
Latest revision as of 11:02, 17 August 2009
Synopsis
var variable ...
Description
Declares variables as local variables of the current macro. In contrast to normal (global) variables, local variables are only visible within the macro where they are declared and within macros that are called via that macro (except when such a macro declares itself 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.