Please enable JavaScript to view this site.

 

Navigation: Macros > Macro Language > Compiler Messages > Errors

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

Scroll Prev Up Next More

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, last updated on 18-Apr-2020