xrfang schrieb:

1) what's the difference between open array and dynamic array? Is "array of Integer" open or dynamic?

Open arrays are parameters only, compatible with all kinds of arrays.

AFAIK the (Delphi) compiler adds hidden (implementation specific) information about the array dimension, to the accessible array base address. I'm not sure what's the base address of an array[-10..10] in this case. Try find out yourself...

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to