LET


Language statement LET


10
20  LET var=expr
30
Assigns a value to the variable.


See examples


If there is insufficient information on this page and you wish learn more about LET, please send an email to smallbasic@gmail.com. You can help to improve information about LET by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.

  • var – A valid variable name.
  • expr – The value assigned to variable.
LET x = 4
x = 1               ' Without the LET keyword
z = "String data"   ' Assign string
...
DIM v(4)
z=v                 ' Assign array (z = clone of v)