Frank Heckenbach wrote:
Peter N Lewis wrote:
At 3:22 +0200 13/6/05, Waldek Hebisch wrote:
... snip ...
o^.m; o.m;
Personally I don't see any problem with that. Once you accept that Objects are pointers, then you accept that o.m is really just shorthand for o^.m
I think it's not very much in the spirit of Pascal. Either the dereference is implicit (like in `var' parameters if you will) or explicit, not both. IMHO usage should depend on how it was declared.
I agree with Frank. Pascal usually has exactly one way to access something, which follows from the logical construction of that something. -- "If you want to post a followup via groups.google.com, don't use the broken "Reply" link at the bottom of the article. Click on "show options" at the top of the article, then click on the "Reply" at the bottom of the article headers." - Keith Thompson