Warning

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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
let [2019/05/07 18:58] – created neilslet [2021/01/10 19:47] (current) gabrielsroka
Line 5: Line 5:
   [let] <any variable> = <any expression>   [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-+The ''LET'' command assigns the value of an expression to a variable. If the variable does not exist, the compiler will create it.
  
 Examples: Examples:
Line 12: Line 12:
  let somearray[n] = x * 2  let somearray[n] = x * 2
   
-Important! **Prior to version 1.0, the ''LET'' keyword may not be omited** as in other BASIC dialects.+Important! **Prior to version 1.0, the ''LET'' keyword may not be omitted** as in other BASIC dialects.
  
  rem ** works in v1.0+ only **  rem ** works in v1.0+ only **
  x = 5  x = 5