Peter Vreman wrote:
Micha Nelissen wrote:
Hi,
psrc:[EMAIL PROTECTED], is this correct ? Shouldn't it be FList^, since FList
is a pointer to an array of pointers ?
It is correct. It is the address of the first pointer in the array of
pointers.
Conceptually, it is wrong. On the implementation level it may be correct.
FList = ^(array[0..Max] of Pointer);
FList[0] = (array[0..Max] of Pointer);
@FList[0] = ^(array[0..Max] of Pointer) = FList;
So address:
(@FList[0])[1] = (ptrint(FList) + 1 * sizeof(array[0..Max] of Pointer)));
Micha
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel