[fpc-pascal]Variable argument counts...
jonas at zeus.ugent.be
Sun Sep 19 23:21:33 CEST 2004
On 19 sep 2004, at 23:26, Gene Buckle wrote:
> That did the trick, thanks! It does kick a warning though:
> Warning: cdecl'ared functions have no high parameter
> I wasn't able to find this in the documentation or the online forum.
> this directly due to the declaration and is it safe to ignore?
Yes, it's safe to ignore. It's a bug that that this warning is shown
when you declare the routine as external, it's only relevant if you
program the routine itself in Pascal (since then you can't use "for i
:= low(args) to high(args) do ...", like you can for Pascal
More information about the fpc-pascal