
The following features are currently supported by the ARMbasic compiler
Standard BASIC Features
IF <expr> THEN <simple statement> {ELSE <simple statement>}
IF <expr> THEN
<statements>
{ELSEIF <expr>
<statements> }
{ELSE
<statements> }
ENDIF
SWITCH
{CASE <expr-list>
<statements> }
{CASE ELSE
<statements> }
ENDSELECT
FOR <lvalue> = <expr> TO|DOWNTO <expr> {STEP <expr>}
<statements>
NEXT <lvalue>
DO
<statements>
UNTIL <expr>
WHILE <expr>
<statements>
LOOP
EXIT DIM <lvalue> (constant) <lvalue> = <expr> PRINT <expr> {;|,{<expr>}} <label>: GOTO <label> GOSUB <label> RETURN DATA <constant>{,<constant>} READ <lvalue> RESTORE RUN CLEAR