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

Mattias Gaertner nc-gaertnma at netcologne.de
Sat May 22 08:37:24 CEST 2010


On Sat, 22 May 2010 16:09:10 +1000
Peter E Williams <foss.game.pascal.developer at iinet.net.au> wrote:

>     max_x := inttostr( max_x_param.text );
> //                     ^^^^^^^^^^^ it is a TEdit
> main_island.pas(270,41) Error: Incompatible type for arg no. 1: Got
> "TTranslateString", expected "QWord"

Use StrToInt or StrToIntDef(,0)

Mattias




More information about the Lazarus mailing list