previous chapterthe pico pagenext chapter


Variable assignment

An existing variable can at all times be bound to a new value by means of a variable assignment:

name := expression

The following:

pi := 3.14159265358979

will result in the originally computed value of pi to be replaced by a -possibly- more accurate approximation of. Clearly, a variable assignment can only take place if the variable has been defined previously; if this is not the case, an error is generated; in case the same name is used for several variables, the most recent version is used.


previous chapterthe pico pagenext chapter