The value of temporary variables cannot be modified

Navigation:  Messages > Macro Compiler Messages > Errors >

The value of temporary variables cannot be modified

Previous pageReturn to chapter overviewNext page

This compiler error will occur if you try to assign a value to any of the temporary variables, except bRESULT and sRESULT.

 

An example would be :

 

n002 = EncodeDate(1999,1,3) // not allowed

 

Note that the compiler will assume that a variable is a temporary variable, and generate this message, if the variable's second character is a digit from 0 to 9. This even if no such temporary variable exists (eg. n010101, n2be3).


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