ELSE
ELSE
Part of an if … then … else statement. For more information see
IF
.
Example
2
foo = if foo == 1
print "one"
else
print "not one"
fi
Code samples using ELSE
003 conditional branching.bas
004 loops.bas
005 challenge.bas
006 arrays+.bas
100lines.bas
2048.bas
2048.bas
3d block lettes.bas
3d rotating cube with message.bas
3d_torus.bas
3dtictac.bas
3dtorus.bas
3dttt.bas
3dttt.bas
7gables.bas
agendus.bas
ai.bas
analog clock.bas
anball 1.0.bas
angel feather.bas
another look at trig functions.bas
aquarium v2.bas
arc_ui.bas
ascii 3d.bas
B+B.bas
bairstow.bas
BAS_NOWv2.bas
base64.bas
bb2fork smurf.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 ELSE,
please send an email to smallbasic@gmail.com. You can help to improve information about
ELSE by submitting a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.