Syntax
set variable to expression
Description
The set statement assigns the value of the expression to the formula variable specified. You cannot change the value of fields or shell variables with the set statement.
The set statement returns the value of the expression.
Examples
set name to "John Smith"
set sum to v1 + 3.14 + v2