[Lazarus] My Island_maker D5/7 port test code - Error: Incompatible type for arg no. 1: Got "TTranslateString", expected "QWord"

Alberto Narduzzi albertonarduzzi at yahoo.com
Sat May 22 11:43:16 CEST 2010


Hi,

the two hints, you may just ignore them; they just inform you that 
within the event handler you are not using the parameter.

Then, for the errors:

     max_y := inttostr( max_y_param.text );
//                     ^^^^^^^^^^^ it is a TEdit

inttostr _gets_ an integer as parameter and produces its representation 
string. You probably wanted to use strtoint, instead.


Cheers, A.




More information about the Lazarus mailing list