[fpc-pascal] Illogical automatic dereferencing

Jürgen Hestermann juergen.hestermann at gmx.de
Mon Oct 12 14:20:02 CEST 2009


> The beauty of the current solution is that static and dynamic arrays can 
> be substituted with each other, simple by changing the declaration, and 
> adding/removing a setlength. All other code can be left as it is.
> If you needed the "^" for dyn arrays everywhere, then you would have to 
> make huge changes throughout your code, if ever you needed to change 
> between static and dynamic arrays.

What is the problem with search-and-replace? If you are forced to change 
your code you will have a closer look at it and may get aware of side 
effects of the change.





More information about the fpc-pascal mailing list