On Mon, May 8, 2017 at 4:05 PM, Sieghard <s_c_...@arcor.de> wrote: > Hallo Marcos, > > Du schriebst am Mon, 8 May 2017 13:12:19 -0300: > >> >> 2. In this case: >> >> obj2: ^objty; //on heap >> >> >> >> Is it possible to remove the "^"? >> >> obj2.f1:= 123; >> >> >> > No, obj2 is a pointer. >> > >> >> I think this distinction exists because "class" exists, right? > > How does that behave in case of _nested objects_, possibly with identically > named fields, which might even be of different types? Is that manageable, > or will the construct break down, at least on "pathological" casses? > > (I'm afraid it _will_ break down.)
For me it would be the same as today, using classes. But Martin have already disagreed about this single syntax. Marcos Douglas ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk