Difference between revisions of "NML:Parameter assignment"

From GRFSpecs
Jump to navigationJump to search
(content of nml r1625)
(No difference)

Revision as of 11:43, 21 August 2011

param[<expression>] = <expression>;

Set a parameter to the given expression. Neither of the two expressions has to be constant, the following is perfectly valid:

 param[param[2] + 1] = param[3] * param[4];