[fpc-pascal] converting TjanSQL

Michael Van Canneyt michael at freepascal.org
Tue Mar 21 10:11:20 CET 2006



On Tue, 21 Mar 2006, Bisma Jayadi wrote:

>> Can you give the whole error message ?
>
> FEParser.onGetVariable:=getvariable;
>
> C:\Trash\janSQL\components\janSQL.pas(462,40) Error: Incompatible type for 
> arg no. 1: Got "TjanSQL.getvariable(TObject,const AnsiString,var Variant,var 
> Boolean)", expected "<procedure variable type of procedure(TObject,const 
> ShortString,var Variant,var Boolean) of object;Register>"

You forgot the {$H+} in jansql: the strings are different.

Michael.



More information about the fpc-pascal mailing list