Discussion:
DYNAMIC ARREY
(too old to reply)
Bar Nash
2008-12-07 12:31:11 UTC
Permalink
Hi
We need to include a dynamic array in our PASCAL based program .
I mean an array that is not limited by the RECCORDS number and width .

How this can be done ?
Any library URL for this ?

Thanks
EC
Leledumbo
2008-12-19 13:02:31 UTC
Permalink
Post by Bar Nash
Hi
We need to include a dynamic array in our PASCAL based program .
I mean an array that is not limited by the RECCORDS number and width .
How this can be done ?
Any library URL for this ?
Thanks
EC
var
a: array of Byte;
begin
SetLength(a,100);
// Now a can be accessed from a[0] to a[99]
// This is supported natively by Delphi / Free Pascal, no library /
unit needed
end.

Loading...