Re: [fpc-pascal]Getting the size of an array

2003-10-02 Thread Peter Vreman
> In Delphi (the later versions I suppose), it is > possible to get the size of an array, and not just > the size of a String, using Length() > > Is this not available yet in FreePascal or is there > another way of doing it? > > You can use SizeOf, but then you'd have to get the > SizeOf the type o

[fpc-pascal]Getting the size of an array

2003-10-02 Thread Andy Sy
In Delphi (the later versions I suppose), it is possible to get the size of an array, and not just the size of a String, using Length() Is this not available yet in FreePascal or is there another way of doing it? You can use SizeOf, but then you'd have to get the SizeOf the type of the array first