On Sun, 6 Nov 2011, Jonas Maebe 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".

Unless the class was compiled with {$M+} or is a descendant of such a class, then it is Published.

Michael.
_______________________________________________
fpc-pascal maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to