Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Illegal in direct mode (ERR: 12)
■ The highlighted statement is valid only within a program
and cannot be used in the Immediate window.
■ As a rule, the following statements and metacommands cannot
be used in the Immediate window:
• COMMON, CONST, DATA, DECLARE, DIM, OPTION, SHARED, STATIC,
and TYPE nonexecutable statements
• $INCLUDE, $DYNAMIC, and $STATIC metacommands
• DEF FN...END DEF, ELSE IF, END IF, END TYPE,
FUNCTION...END FUNCTION, REDIM, and SUB...END SUB
statements
■ If you need additional help, move the cursor to a keyword
and press F1 to open the Help window.