Range variable must be numeric

Navigation:  Messages > Macro Compiler Messages > Errors >

Range variable must be numeric

Previous pageReturn to chapter overviewNext page

This compiler error will occur if a non-integer variable is used inside the range operator. For example :


  if nTemp in [sTempMin..nTempMax]




In the example above sTempMin refers to a string variable and this is the cause of this message.

Topic 109024 updated on 15-Apr-2002.
Topic URL: https://www.qppstudio.net/webhelp/index.html?rangevariablemustbeaninteger.htm