On Sat, 13 Jul 2019, Ben Grasset wrote:
On Sat, Jul 13, 2019 at 2:37 PM Ondrej Pokorny <laza...@kluug.net> wrote:
I do exactly the same - check the low/high bounds in a type helper :)
Yes, and I am tired of typing it as well :)
You can pretty easily write a generic function that will work on pretty
much any enum for this, BTW:
No doubt, but this will lead to a bloated binary. I want less code (both
source and assembler), not more.
Michael.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel