Op Mon, 10 Sep 2012, schreef Jonas Maebe:
If you want to do that, you need to add a layer in between that converts
the sets into integer bitmasks in a reliable, portable and future-proof
way.
Yes! Let's also convert integers to enums with a case statement rather
than typecast, just in case the compiler may not count enums from zero in
the future ;)
Daniël
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel