ELSEIF
Syntax
if [condition] then [action] ELSEIF [condition] then [action]
Description
see IF...THEN.
Example
IF A = 1 THEN
PRINT "ONE!"
ELSEIF A = 2 THEN
PRINT "TWO!"
ENDIF
Differences from other BASICs
- None from PBASIC
- Visual BASIC uses a two word END IF, rather than the ARMbasic ENDIF