qb45ener.hlp (Topic list)
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
The highlighted statement is only valid within a program
and cannot be used in the Immediate window. In general
  ■ The following nonexecutable statements cannot be used
    in the Immediate window:
      COMMON, CONST, DATA, DECLARE, DIM, OPTION, SHARED,
      STATIC, and TYPE
  ■ The following metacommands cannot be used:
      $INCLUDE, $DYNAMIC, $STATIC
  ■ The following other statements cannot be used:
      REDIM, SUB...END SUB, FUNCTION...END FUNCTION,
      DEF FN...END DEF, ELSE IF, END IF, END TYPE
 
ERR Code: 12