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

Florian Klaempfl florian at freepascal.org
Sun Apr 25 20:07:05 CEST 2010


Jürgen Hestermann schrieb:
>>> Then it should be possible to use "MyArray" as a parameter for
>>> move/fillchar but obviously this is not the case.
>> No. Because it does not mean the *array's data* but the *array*.
> 
> So it doesn't mean anything? What exactly is the *array* if not it's data?

A variable with a certain type where certain operations can be applied.
To access the array's data, you've to use [...], to set the length of
the data, pass it to setlength etc.



More information about the fpc-pascal mailing list