Incomplete code example in FPC docs

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Incomplete code example in FPC docs

Graeme Geldenhuys-6
Hi,

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

According to the above URL, that code example is not compilable as-is,
because TMyTestObject is not defined anywhere. Shouldn't the code
examples in the documentation be compilable as-is?  ie: allow the
developer to copy and paste the code in a empty file, then compile and
run to try it out?


Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal