[fpc-pascal] How can you convert an enum value to string?

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Aug 30 14:44:19 CEST 2010


Op 2010-08-30 13:43, Frank Church het geskryf:
> 
> Is there a way to pass the enum so that the type will not matter, so
> that the type can be determined at runtime, so that it is not necessary
> to create a new function for every type?

I don't know... you might have to create a few overloaded functions with
the various enum types.



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-pascal mailing list