Hi All,

My class looks like this:

TMyClass = class
  FField1: Integer;
private
  FField2: string;
public
  FField3: string;
end;

Question is, is FField1 private or public or protected?  For all lcl classes,
I see a lot of fields above "private", it looks like they are same as "public", 
because I can access them from outside. But why allow them to be put there 
instead of directly under "public"?

Thanks,
Shannon

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to