Invalid Compiler Directive : value must be a number in the range ...

Navigation:  Messages > Macro Compiler Messages > Errors >

Invalid Compiler Directive : value must be a number in the range ...

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 numerical value which is not within the range of allowed values.

 

Common causes :

 

A value which is not a number.

 

Formatting a number (eg. 2,000 instead of 2000).

 

Putting an equal sign between the pre-compiler directive and it's value. There should be no equal sign.

 

Allowed ranges :

 

MAX_NUM_ITERATIONS : 25 to 2000.

 

MAX_STRING_LENGTH :  32 to 16384.

 

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


Topic 109022 updated on 01-Nov-2016.
Topic URL: http://www.qppstudio.net/webhelp/index.html?pre_compilervalueoutsideofallo.htm