Marco van de Voort wrote:
"procedure Initialize(var V [ ; Count: Integer ] );
Description [...]
In my other post, I suggested "Initialize". This has the advantage of being a Delphi-compatible name. And the implementation can also be Delphi-compatible, if that can easily be achieved.
Well, almost. Of course, we don't always fill it with zeros, but rather do the appropriate initializations. :-) And I think (hope) we can also omit the second parameter since this is equivalent to initializing an array (which can be achieved by type-casting if nothing else helps).
Afaik that is also usable to init more vars at once.
Do you mean the second parameter in the Delphi version, or the type casting "trick"?
Frank