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

Jürgen Hestermann juergen.hestermann at gmx.de
Sun Apr 25 12:40:06 CEST 2010


> Florian Klaempfl schrieb:
> Simply because dereferencing a dyn. arrays makes no sense because
> it is more than just a simply data collection.

Realy? What else is happening in the background? 
 
> This is plainly wrong. When indexing a dyn. array, the compiler
> generates the correct code to access the data, no more no less.

So what is the difference between 'MyArray[0]' and 'MyArray^'? Don't they mean the same address? Isn't it possible to use 'MayArray^' as a parameter for move or fillchar? I thought so.



More information about the fpc-pascal mailing list