On 19 May 2010, at 14:34, Graeme Geldenhuys wrote:

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?

It's an FPC-specific extension. It's mainly used to implement the "port" construct from Turbo Pascal in the ports unit for Dos and Linux.


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to