Please enable JavaScript to view this site.

 

Navigation: Macros > Macro Language > Compiler Messages > Errors

Expression must be assigned to a variable

Scroll Prev Up Next More

This compiler error will occur if a macros contains an instruction that is made up of an expression whose resulting value is not assigned to a variable.

begin
    YearOf(n_TokenDate) // what do we do with this ?
    365 mod 30 // what do we do with this ?
end

This error is usually the result of a cut and paste that was never completed.

 


Topic 109009, last updated on 13-Apr-2020