[fpc-devel] Re: Missing from documentation

Graeme Geldenhuys graemeg.lists at gmail.com
Wed May 19 14:34:54 CEST 2010

Graeme Geldenhuys het geskryf:
> * Properties, section 4.6, of the Language Reference documentation doesn't
> mention the 'implements' specifier in the diagram (page 54). Its got read,
> write and default, but not implements.

Sorry, I see this chapter is related to global variables, and 'implements'
is actually covered in Class > Properties (page 75).

BTW: I actually learnt something new now. I never new you could have a
property outside a class. I can't say that in the many years I have been
programming with object pascal that I have ever seen properties used as a
global variable. Umm?

-------[ How weird is this legal code?? ]---------------
unit unit1;
  {$mode objfpc}


  function GetMyInt : Integer;
  procedure SetMyInt(Value : Integer);

property MyProp: Integer Read GetMyInt Write SetMyInt;



  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

More information about the fpc-devel mailing list