On 06/05/10 00:11, bearophile wrote:
Robert Clipsham:.ptr is only available for arrays.And arr.ptr returns the pointer to the start of the memory that contains the array data. While&arr is the pointer to the struct that contains the pointer and the length.
Thanks for adding this, I probably should have mentioned it :)
On the other hand I think the Pascal pointer syntax is better :-)
I've never used Pascal, so I wouldn't know :)
Bye, bearophile