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