let
[:variable value]
Parameters:
[:variable |
String |
the variable name that you will use |
value] |
Number |
the value that you are setting the variable to |
Description:
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.
Examples:
let [:myvar 6]
declares a local variable :myvar
and assigns its value to 6.
Related Commands:
set