But if you want speed in your conversion, GetEnumName is more fast than WriteStr. :3
Result: 00:00:04:336 - 00:00:01:407 -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/How-can-you-convert-an-enum-value-to-string-tp2821227p5720613.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal