[fpc-pascal] Documentation example error

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Mon Jan 25 16:32:53 CET 2016


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.

Regards,
  - Graeme -

My public PGP key:  http://tinyurl.com/graeme-pgp



More information about the fpc-pascal mailing list