Henry Vermaak wrote:
One thing I think you don't understand is that an array _is_ a
pointer.  Look at this table to visualise:

In Pascal, an array is not a pointer; at least not at the language level. For a static array X (array[1..n] of T), you *can* write:

Move(Ptr^, X, sizeof(X));

because X *is* the array, representing the memory of the array.

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

Reply via email to