August Karlstrom
2011-10-06 21:57:12 UTC
In section 8.2.4 in the language report it is stated that a type test is
applicable if "v is a variable parameter of record type or v is a
pointer." Since all non-scalar parameters are passed by reference in
Oberon-07 I think type tests are (should be) applicable to all record
parameters. Is this an oversight or have I missed something?
http://www.inf.ethz.ch/personal/wirth/Articles/Oberon/Oberon07.Report.pdf
August
--
The competent programmer is fully aware of the limited size of his own
skull. He therefore approaches his task with full humility, and avoids
clever tricks like the plague. --Edsger Dijkstra
applicable if "v is a variable parameter of record type or v is a
pointer." Since all non-scalar parameters are passed by reference in
Oberon-07 I think type tests are (should be) applicable to all record
parameters. Is this an oversight or have I missed something?
http://www.inf.ethz.ch/personal/wirth/Articles/Oberon/Oberon07.Report.pdf
August
--
The competent programmer is fully aware of the limited size of his own
skull. He therefore approaches his task with full humility, and avoids
clever tricks like the plague. --Edsger Dijkstra