[fpc-pascal] Dynamic arrays in FP
Jonas Maebe
jonas at zeus.ugent.be
Thu May 5 13:05:36 CEST 2005
On 05 May 2005, at 13:06, Michael Van Canneyt wrote:
>>> Dynamic arrays are an internal type of pascal. C doesn't know dynamic
>>> arrays. That it works with delphi is pure luck.
>>
>> Sorry, but pascal dynamic arrays are just pointers.
>
> Totally wrong. They are a reference counted type.
Yes, but aren't they "just" C-style arrays (i.e. pointers) in the same
way that ansistrings are "just" pchars?
Jonas
More information about the fpc-pascal
mailing list