LET
LET var = expr
Assigns a value or expression expr
to the variable
var
. LET is used mainly for compatibility reasons and not
necessary for programming in SmallBASIC.
Example
LET x = 4
Code samples using LET
002 numeric variables.bas
003 conditional branching.bas
004 loops.bas
006 arrays+.bas
2048.bas
2048.bas
3d block lettes.bas
3d_palmx.bas
7gables.bas
anball 1.0.bas
ascii 3d.bas
Balleta 2-11-15.bas
BAS_1968.bas
BAS_NOW.bas
betrayal: crows ii.bas
blackbox.bas
Blackbox.bas
blackjack.bas
BlackJack.bas
bowling7.bas
calc.bas
checkers.bas
checkers.bas
chess.bas
chess.bas
color chart.bas
crgb.bas
demanda.bas
dogstar5.bas
Language
AND
AS
BAND
BG
BOR
BYREF
CALL
CASE
CATCH
CONST
DECLARE
DEF
DO
ELIF
ELSE
ELSEIF
END
END TRY
ENDIF
EQV
EXIT
FALSE
FI
FOR
FUNC
GOSUB
GOTO
IF
IFF
IMP
IN
LABEL
LET
LIKE
LOCAL
LSHIFT
MDL
MOD
NAND
NEXT
NOR
NOT
ON
OR
REM
REPEAT
RETURN
RSHIFT
SELECT
STEP
STOP
SUB
THEN
THROW
TO
TRUE
TRY
UNTIL
USE
USG
USING
WEND
WHILE
XNOR
XOR
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 a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.