[fpc-pascal]Variable argument counts...
Jonas Maebe
jonas.maebe at elis.ugent.be
Sun Sep 19 22:59:59 CEST 2004
On 19 sep 2004, at 22:58, Gene Buckle wrote:
> Ok, I made the change:
> procedure QMCall(SubrName : PChar; ArgCount : shortint; const Args :
> array
> of const); cdecl; external 'QMClient';
>
> However, I still get the same error:
> QMClient.pas(30,79) Error: Type identifier expected
> QMClient.pas(30,79) Fatal: Syntax error, ) expected but CONST found
>
> Ideas?
You have to be in delphi or objfpc mode for this to work apparently.
Sorry I didn't look that up earlier.
Jonas
More information about the fpc-pascal
mailing list