[fpc-pascal] What is the difference between the declarations at the beginning of a class and those declared in the public section?
Jonas Maebe
jonas.maebe at elis.ugent.be
Sun Nov 6 15:43:01 CET 2011
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
More information about the fpc-pascal
mailing list