INCLAN: parameter: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
m (1 revision)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Synopsis ==


Usage: parameter ''variable'' ...
'''parameter''' ''variable'' ...


Changes the names of the parameters that are passed to a macro; i. e.
== Description ==
the parameters p1, p2,... get the names given in the parameter
 
statement. The parameter statement must precede all other statements
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.
in a macro (except var) and cannot be used interactively.

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.