[fpc-pascal] Variable argument list for cdecl functions

Wimpie Nortje wimpienortje at gmail.com
Thu Apr 14 14:49:06 CEST 2011


Hi

How do one access the array of const members for a function declared as
cdecl? Eg.

function A(args: array of const): integer;cdecl;

I get a warning that cdecl'ared functions have no high parameter, which
now makes sense to me since I tried to use High(args)



More information about the fpc-pascal mailing list