next up previous contents index
Next: Atom Selection Up: Evaluate Statement Previous: Syntax

Example

The statement

EVALuate ($1=1.0)
sets the symbol $1 to 1.0, whereas
EVALuate ($1=$1+2.2)
increases it by 2.2,
EVALuate ($1=$1*COS(2.*$PI$1))
sets it to 3.00498, and
EVALuate ($2="a"+"b"+encode($1))
sets the symbol $2 to the string ``ab3.00498".



Web Manager
Sat Mar 11 09:37:37 PST 1995