Please enable JavaScript to view this site.

 

Navigation: Macros > Macro Language > Compiler Messages > Errors

Unknown Compiler Directive

Scroll Prev Up Next More

This compiler error will occur for any line preceding the var section (or the input section, or the global section, if there is one) if it does not recognize the beginning of the line as one of the valid compiler directives.

 

For example:

AnyText {<- message is generated here}
input
// optional input parameters
var
// variable declarations
begin   
// instructions block   
end

In the example above, the text AnyText triggers the present message because it occurs before the global or input or var keywords. If that same text had been in either of these sections, a different message would have been generated (assuming AnyText did not correspond to a valid input or var statement).

 


Topic 109000, last updated on 18-Apr-2020