[fpc-pascal] dynamic array contents and system.move

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Apr 25 19:55:00 CEST 2010


On 25 Apr 2010, at 19:32, J├╝rgen Hestermann wrote:

>>> There is a lot of ambigouity with dynamic arrays.
>> There certainly is if you expect them to work like regular arrays. They are a quite different datatype.
> 
> At least it should always mean the same independent from context.

It does always mean the same, just like a class instance always means the same. It's just that implicit dereferencing is applied as soon as you try to access an element (again, like with classes).


Jonas


More information about the fpc-pascal mailing list