Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-04

Variable argument list for cdecl functions

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Wimpie Nortje

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)