[fpc-devel] Defining a constant record which contains an (dynamic or open) array

Marco van de Voort marcov at stack.nl
Tue Mar 2 11:40:50 CET 2010

In our previous episode, Jonas Maebe said:
> On 02 Mar 2010, at 09:14, Joost van der Sluis wrote:
> > I want to define a constant record, but the record contains an array.
> More specifically, a dynamic array.
> > Is that possible?
> Only with static arrays.

.. or with empty dyn array.

If you fill the dyn array field with "NIL" it will be accepted in both FPC
and Delphi.

More information about the fpc-devel mailing list