16 Jul
2003
16 Jul
'03
11:24 a.m.
As I see it, the differences between Mac objects and GPC objects are:
1. methods are always virtual 2. objects are created/destroyed with New/Dispose 3. objects are implicitly pointers 4. fields are implicitly dereferenced 5. there are no (user) contructors/destructors
Morning If memory serves, Delphi object are 'references' and not pointers. This may be semantics. In Delphi object variables contain pointer to code and a separate pointer to the instance data segment. This maybe be why MyObject := tAnotherObject.Create form is used instead of typical New( MyObject, Create);