next up previous contents
Next: The error Statement Up: Statements Previous: The choose Statement   Contents

The define Statement

$$ Define-Statement ::= "define" Variable ":=" Expression ";" .

A define statement is of the form

define $var := expr;

The expression expr is evaluated and the result is assigned to the variable $var. The variable may not be defined before this statement; it is defined by the statement and only exists until the statement sequence in which the assignment is situated has been processed fully.



Bjoern Beutel