Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

LET

Syntax:

[let] <any variable> = <any expression>

The LET command assigns the value of an expression to a variable. If the variable does not exist, the compiler will create it.

Examples:

let somevar = 5
let somearray[n] = x * 2

Important! Prior to version 1.0, the LET keyword may not be omitted as in other BASIC dialects.

rem ** works in v1.0+ only **
x = 5