Am 14.12.2016 14:31 schrieb "Lars" <[email protected]>: > I think I once thought, can I make an "array of array of const" to try to > expand on the power of array of const. Which seems like a silly idea, but > academically interesting. Also, Varients are related to general > programming (generic). But no one likes variants, as it is like dynamic > typing.. Not sure if you can create an array of variant and program > generally that way. Doesn't really matter as people hate variants and tend > to avoid them.
Ehm... You are aware that "array of const" is nothing else than a "array of lightweight variant" (namely TVarRec)? So with "array of const" you *are* already working with dynamic typing, with only TVarRec being more restricted than Variant. Regards, Sven
_______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
