At 21:14 6/04/01 , you wrote:
>Luke,
> a dynamic array is an array of pointers. There are two things
A dynamic array is *not* an array of pointers. A TList is implemented as an
array of pointers. A (one-dimensional) dynamic array variable is a pointer
to a heap object. Like strings, there is a reference count and length
(number of elements) at negative offsets, with contiguous space for the
array elements at positive offsets. There is a record of type
TDynArrayTypeInfo associated with each array instance, which contains the
element size among other things, but that is out of our reach (as far as I
can tell).
Paul.
-------------------------------------------------------------
Paul Spain, Excellent Programming Company
mailto:[EMAIL PROTECTED]
-------------------------------------------------------------
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"