[fpc-pascal] EnumToString

Juha Manninen juha.manninen62 at gmail.com
Tue Nov 1 08:41:31 CET 2011


Hi

I remember there is a way to get a string representation of an enumerated
type directly without using a lookup string array, but I forgot the syntax.
Lazarus uses only lookup arrays, maybe because the other syntax is new.

How is the syntax?

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20111101/c32e4f8e/attachment.html>


More information about the fpc-pascal mailing list