Please enable JavaScript to view this site.

 

Navigation: Macros > Macro Language > Compiler Messages > Errors

Use of 1-9 is reserved for internal temporary variables

Scroll Prev Up Next More

This compiler error will occur if you try to declare a variable with a name whose second letter is a number from 0 to 9. This is reserved by the compiler for temporary variables.

 

For example:

var
   n31december
begin
 
end

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).

 

See also: the value of temporary variables cannot be modified.

 


Topic 108162, last updated on 18-Apr-2020