INCLAN: parameter: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
No edit summary
 
Line 5: Line 5:
== Description ==
== Description ==


Changes the names of the parameters that are passed to a macro; i. e. the parameters '''p1''', '''p2''', . . . get the names given in the '''parameter''' statement. The '''parameter''' statement must precede all other statements in a macro (except '''var''') and cannot be used interactively. Note that in general the more versatile [[INCLAN: syntax|'''syntax''']] command is used to define the names and types of the parameters of a macro.
Changes the names of the parameters that are passed to a macro; i. e. the parameters [[INCLAN: p1, p2,...|'''p1''', '''p2''', ...]] get the names given in the '''parameter''' statement. The '''parameter''' statement must precede all other statements in a macro (except [[INCLAN: var|'''var''']]) and cannot be used interactively. Note that in general the more versatile [[INCLAN: syntax|'''syntax''']] command is used to define the names and types of the parameters of a macro.

Latest revision as of 15:04, 17 August 2009

Synopsis

parameter variable ...

Description

Changes the names of the parameters that are passed to a macro; i. e. the parameters p1, p2, ... get the names given in the parameter statement. The parameter statement must precede all other statements in a macro (except var) and cannot be used interactively. Note that in general the more versatile syntax command is used to define the names and types of the parameters of a macro.