LET Statement
Assigns a value to a variable.
Syntax
{LET }variable = expression
Syntax Elements
variable is the name of the variable where the result of expression is to be stored.
expression is any valid DataBasic expression or any string, substring, or value; expressed as a variable name, a value, or a string enclosed in quotes.
Operation
expression is evaluated and the result is stored in variable.
The debugger displays a runtime error message if a variable is referenced before it has been assigned a value.