Please enable JavaScript to view this site.

 

Navigation: Macros > Macro Language > Compiler Messages > Errors

Type Mismatch aSymbol; expecting aType

Scroll Prev Up Next More

This compiler error will occur if:

 

the 2 sides of an assignment are of different type,

or the parameters used in a function call are of the wrong type,

or an operator is used with the wrong type of arguments.

 

For example:

nTemp = true // integer and boolean
nDay = WeekdayOf('today'// function requires an integer
sRESULT = ('Date is ' + 25// mixing string and integer

 


Topic 109004, last updated on 18-Apr-2020