Paul Davidson wrote:
As I see it, the differences between Mac objects and GPC objects are:
- methods are always virtual
- objects are created/destroyed with New/Dispose
- objects are implicitly pointers
- fields are implicitly dereferenced
- there are no (user) contructors/destructors
Morning
If memory serves, Delphi object are 'references' and not pointers. This may be semantics.
I think reference means the same as pointers with automatic de-/referencing (i.e. 3.+4.). (Quite the same as standard reference (`var') parameters, BTW.)
Frank