[fpc-pascal]Variable argument counts...
Gene Buckle
geneb at deltasoft.com
Sun Sep 19 22:58:39 CEST 2004
> Sorry, it should be
>
>
> procedure QMCall(SubrName : PChar; ArgCount : shortint; const Args :
> array of
> const); cdecl; external 'QMClient';
>
> (i.e., another "const" in front of "Args").
>
>
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?
Thanks for the help!
g.
--
"I'm not crazy, I'm plausibly off-nominal!"
Proud owner of 80-0007
http://www.f15sim.com - The only one of its kind.
More information about the fpc-pascal
mailing list