let [:variable value]
Declares variable as a local variable and assigns value
to it. All local variables must have names which begin with a colon. You
may declare more than one variable in a let statement (ie. let [:variable1
value1 :variable2 value2] . Variables are declared in the order
they appear in the let statement. See the Variables page for more information
on local variables.
Variables defined in a let are visible from the let (outside the body
of the let) to the end of the procedure
Examples:
let [:myvar 6] declares a local variable :myvar and assigns
its value to 6.
Related commands:
globals
|