INCLAN: parameter: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
m (1 revision)
No edit summary
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 '''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.
in a macro (except var) and cannot be used interactively.

Revision as of 17:25, 13 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.