Hi,
MSElang object and class properties accept fields and getters/setters which 
are defined after the property. Rationale is that it is more convenient for 
object/class users to have the public interface on top.
"
type
 cbase = class()[virtual]
  destructor destroy() [virtual];
 end;

 cexception = class(cbase) //default visibility is "public"
  constructor create(const message: string8);
  property message: string8 read fmessage write fmessage;

  protected
   fmessage: string8;
 end;
"
instead of
"
 cexception = class(cbase) //default visibility is "public"
  protected
   fmessage: string8;
  public
   constructor create(const message: string8);
   property message: string8 read fmessage write fmessage;
 end;

What do you think?

Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to