Type Mismatch aSymbol; expecting aType

Navigation:  Messages > Macro Compiler Messages > Errors >

Type Mismatch aSymbol; expecting aType

Previous pageReturn to chapter overviewNext page

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.



 nTemp = true // integer and boolean

 nDay = WeekdayOf('today') // function requires an integer

 sRESULT = ('Date is ' + 25) // mixing string and integer

Topic 109004 updated on 11-Apr-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?typemismatchasymbolexpectingat.htm