IN THIS PAGE
LET Variable_Name = Expression
A value or an Xbasic expression that evaluates to a value.
Assigns the value of an expression to a variable
LET is used in conjunction with the assignment operator ( = ) to assign the value of an expression to a variable. The use of LET in an assignment operation is optional. This statement is available mostly for compatibility and consistency with the BASIC language, upon which the Xbasic syntax is derived. The equivalent syntax for an assignment statement is:
Variable_Name = Expression
let x = COS(y) let text = "Hello World" 'let is optional, so this also works: Name = "Simon"