[Oberon] Type compatibility rules for Pointers
joerg.straube at iaeth.ch
Tue Jun 16 10:28:22 CEST 2020
:= operator on ARRAYs was not allowed in Oberon-2 but it is in Oberon-7
Am 16.06.20, 09:54 schrieb "Oberon im Auftrag von Tomas Kral" <oberon-bounces at lists.inf.ethz.ch im Auftrag von thomas.kral at email.cz>:
> Section 5.2 Compatibility of a Base Type and Its Extension, in
> Hanspeter Mössenböck's book: Object-Oriented Programming in Oberon-2.
Yes thank you for the pointer, been there, done that, have some
Type extension, and procedure variables, are the basis of OOP.
I learn to use, though often surprised things are possible, unlike in
Seeing some ETH Oberon modules, COPY() is quite frequently used,
where in Oberon-07, just `:=' assignment will do.
Tomas Kral <thomas.kral at email.cz>
Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
More information about the Oberon