Graeme Geldenhuys wrote:
> Is there a way to have a single implementation of Enum-to-String

system.str() also works for enums in FPC. For sets, you can use a for-in
loop that calls str(). If you want to encapsulate it in a function,
you'll have to use a generic function probably.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to