On 6 November 2011 14:43, Jonas Maebe <jonas.ma...@elis.ugent.be> wrote:
> > On 06 Nov 2011, at 15:34, Frank Church wrote: > > > What is the difference between field declarations at the beginning of a > > class and those declared in the public section? > > There is no "the" public section. You can declare as many public (and > private, and ...) sections as you want. > > > They are all visible aren't they, what is the conceptual difference > between > > them? > > None. The default visibility of fields in a class declaration is "public". > > > Jonas > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > So it means that unless a field or method is in the private or protected section it is automatically public? -- Frank Church ======================= http://devblog.brahmancreations.com
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal