Invalid Compiler Directive : value must be in the list ...

Navigation:  Messages > Macro Compiler Messages > Errors >

Invalid Compiler Directive : value must be in the list ...

Previous pageReturn to chapter overviewNext page

This compiler error will occur for any line preceding the var section (or the input section, if there is one) if it the compiler finds one of the valid compiler directives, matched with a value which is not from the predefined list of allowed values.

 

Common causes :

 

RUNTIME_ERROR_HANDLING : passing a value which is not one of the 3 allowed values, or putting that value in quotes (as if it were a string).

 

INCLUDE_HOLIDAYS_LIST : passing a value which is not a e i o u, or putting it in side quotes.

 

Examples :

 

RUNTIME_ERROR_HANDLING 'rte_Abort_Macro'

RUNTIME_ERROR_HANDLING rte_Abort_Mcro

INCLUDE_HOLIDAYS_LIST w

INCLUDE_HOLIDAYS_LIST 'a'

 

Note that this error message is only generated for compiler directives which expect a value from a predefined list. Another message is generated for compiler directives which expect a numerical value


Topic 109023 updated on 11-Apr-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?invalidpre_compilerdirectiveva.htm