Am 24.06.2019 um 05:57 schrieb J. Gareth Moreton:
We can't really use a new keyword to define an unbounded array, so I'm
wondering if we can work with the syntax for open arrays. For
example, say we redefined LOGPALETTE to the following:
LOGPALETTE = record
palVersion : WORD;
palNumEntries : WORD;
palPalEntry : array of PALETTEENTRY;
end;
Michael already shot this, but nevertheless: if you would use that
syntax then how would you differentiate from records that really contain
a dynamic array and not such a unbounded one?
Regards,
Sven
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel