I looked at the example, and it isn't compilable by my eye ball, however, the idea I think is to replace that not found class def'n with something you already know about. You could possibly just replace it with a tedit or tlistbox or something.
On Mon, Jan 25, 2016 at 11:32 AM, Michael Van Canneyt < mich...@freepascal.org> wrote: > > > 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 >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal