[fpc-devel] Re: Testing for..in feature
ip at kmiac.ru
Thu Nov 5 09:30:14 CET 2009
Florian Klaempfl wrote:
> This rtti isn't published for program use but e.g. writeln(<enum>) uses it.
Yes, I was surprised when I tried to look why writeln gives a runtime
error for unexistent element of enum.
Also I looked at compile - it just checks if enum has jumps and refuses
typeinfo() call for it. Why does compiler hides this info?
More information about the fpc-devel