On Sun, Jan 15, 2012 at 04:43, J.-c. Chu <jc...@acm.org> wrote: > For one thing, class variables, class methods, and class properties are > subject to visibility controls and inheritance. > > So you can, for example, have a private class variable initialized with > class constructor (which avoids code in the INITIALIZATION section) and > accessed via a read-only class property (which is impossible with > unit-level variables).
Interesting, thank you for share this use case. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal