On Mon, 25 Jan 2016, Graeme Geldenhuys wrote:

Hi,

I was always under the impression that the examples included in the FPC
documentation should be compilable examples.

Looking at the following example code included with the GenEnumName()
documentation, it will not compile because TMyTestObject is undefined.

 http://www.freepascal.org/docs-html/rtl/typinfo/getenumname.html


If my assumption about compilable examples are correct, I'll be happy to
supply a patch to fix it.

They should definitely be compilable.

I do not check this regularly, though :/


Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to