Markus Gerwinski wrote:
Waldek Hebisch wrote:
- Value versus reference model:
BP - value model (objects are values) OOE, Delphi, Mac - pointer model (object are pointer to values)
I have a question regarding your newly-proposed options:
-fobjects-are-references -- choose reference model even if the declaration uses "object" keyword, on for Mac Pascal, off otherwise
So do I understand you right: By default (i.e. without this option), objects will still be values,
Yes.
so the correct way of calling a method would be something like `someObject^.doSomething'?
Yes, if someObject is a pointer. (In this BP model, objects do not have to be pointers, as you probably know.)
More generally spoken, without any options everything (esp. the way methods are handled) will remain as it is now?
I'd strongly suggest so, unless there's a very compelling reason to change defaults.
Of course, everything WRT `object'. Whereas `class' wasn't supported before at all, and will be then. But it makes no difference as long as you don't use `class'.
Frank