[fpc-pascal] Documentation example error

Stephen Chrzanowski pontiac76 at gmail.com
Mon Jan 25 17:44:40 CET 2016


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 <
michael at 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 at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160125/4b18be7e/attachment.html>


More information about the fpc-pascal mailing list