August Karlstrom
2005-10-31 13:31:50 UTC
Hi everyone,
Why does Oberon disallow dereferencing a function result, like in
x.Func(y)^.z
OK, the obvious answer is that according to the language report `.',
`[...]', `^' and function call `(...)' can only occur in designators
(they are not operators like in C). But is this just to keep the
language report short or does it present a real difficulty to the
compiler, make the language "unsafe" in any way or complicates the
language semantics?
August
Why does Oberon disallow dereferencing a function result, like in
x.Func(y)^.z
OK, the obvious answer is that according to the language report `.',
`[...]', `^' and function call `(...)' can only occur in designators
(they are not operators like in C). But is this just to keep the
language report short or does it present a real difficulty to the
compiler, make the language "unsafe" in any way or complicates the
language semantics?
August