On 01 May 2010, at 11:09, Jürgen Hestermann wrote:

> Yes, that looks good as it does not violate the rule that an identifier 
> should mean the same memory address independent from context.

As has been explained umpteen times already in this thread: a dynamic array 
identifier always identifies exactly the same memory address (namely the 
address of the pointer to the array). It's the "[]" operator that has been 
overloaded for dynamic arrays to basically mean "^[]", similarly to how
a) it behaves for pchars
b) "." for classes means "^." (and also for pointers to records in Delphi mode)

And no, the syntax for dynamic arrays will not be changed nor extended (unless 
Embarcadero would do so).

This is my final post in this thread.


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

Reply via email to