> On Apr 3, 2020, at 3:43 PM, Sven Barth <pascaldra...@googlemail.com> wrote:
>
> They are neither. They are simply a pointer to the first element and a hidden
> size argument. For the pointer it is not important where it comes from: a
> single element, a dynamic array, a static array.
>
Ah, I see. In the example below the open array is still a dynamic array right?
As you said earlier dynamic arrays are never constant/static (for now at least)
and therefore [1,2,3] is a dynamic.
procedure DoThis(a: array of integer);
...
DoThis([1,2,3]);
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal