qperr.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.
Error Message
 
Error 147:  Directive must be at top of program
 
A global compiler directive was located after the
beginning of declaration of a program or unit.
 
Global compiler directives must precede the implementation
section in a unit. In a program, they must precede the
first declaration, appearing before any CONST, TYPE, VAR,
PROCEDURE, or FUNCTION. Global compiler directives are
usually located immediately after any USES statements.