Am 20.12.2020 um 05:26 schrieb Jean SUZINEAU via fpc-pascal:

I know you don't like objects, but maybe something like :


Using modeswitch AdvancedRecords that also works with record types.

And I'd suggest a case-statement as well. Anything else will only be slower or just as fragile.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to