KEYWORD
DESCRIPTION
USAGE
INCLUDE Include code from an external file INCLUDE  <STRING_LITERAL>
IF | ELSEIF | ELSE | END IF Executes a block of code if an expression is true
NOTE: ELSEIF can be substituted for ELSE IF
IF <EXPRESSION> THEN
     .....
ELSEIF <EXPRESSION> THEN
     .....
ELSE
     .....
END IF
SELECT | CASE | DEFAULT |
END SELECT
Executes a block of code if a case is equal to the selection case SELECT CASE <EXPRESSION>
CASE <EXPRESSION>
     .....
DEFAULT
     .....
END SELECT
DO | LOOP | UNTIL | WHILE Executes a block of code while a condition is true or until a condition is met DO
     .....
LOOP {UNTIL | WHILE}  <EXPRESSION>
WHILE | WEND Executes a block of code while a condition is true WHILE  <EXPRESSION>
     .....
WEND
FOR | TO | STEP | NEXT Sets a counter variable to an initial value and executes a block of code until the counter variable has reached a peak value FOR  <ID> = <EXPRESSION> TO <EXPRESSION> {STEP}  <EXPRESSION>
     .....
NEXT
EXIT Exits a loop EXIT { DO | FOR | WHILE }
FUNCTION | RETURN |
END FUNCTION
Creates a function FUNCTION  <ID> ( {BYREF}<ID>, ...)
     .....
     RETURN  <EXPRESSION>
END FUNCTION
SUB | RETURN | END SUB Creates a Sub Routine SUB  <ID> ( {BYREF} <ID>, ...)
     .....
     {RETURN}
END SUB
PRINT Outputs Text to a console PRINT <EXPRESSION>
END Ends a program END
DIM Creates a variable or array DIM <ID> { [ } <EXPRESSION>{ ] }
REDIM Resizes an array REDIM <ID> { [ } <EXPRESSION>{ ] }
DELETE Deletes an array DELETE  <ID>
TRUE Constant that evaluates to NOT 0 TRUE
FALSE Constant that evaluates to 0 FALSE