On Thu, 5 May 2005, Jilani Khaldi 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.

See e.g. page 5-19 of the Delphi 7 Language guide.

(Chapter 5 'Data types', section structured types - arrays - dynamic arrays)

Michael.


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to