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.