[fpc-pascal]Getting the size of an array
Andy Sy
andy at nospam.com
Thu Oct 2 12:40:04 CEST 2003
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 (is this possible?)
and divide the SizeOf the array type by it.
--
=========================================
reply-to: a n d y @ n e t f x p h . c o m
http://www.neotitans.com
Web and Software Development
More information about the fpc-pascal
mailing list