[Oberon] Introduce myself

Till Oliver Knoll till.oliver.knoll at gmail.com
Fri Feb 22 16:48:00 CET 2019



> Am 22.02.2019 um 09:57 schrieb Jörg Straube <joerg.straube at iaeth.ch>:
> 
> CASE does now what WITH used to do...

Oh, indeed:

  https://www.inf.ethz.ch/personal/wirth/Oberon/Oberon07.Report.pdf

Chapter 9.5 „Case Statements“:

„The type T of the case expression (case variable) may also be a record or pointer type. Then the case labels must be extensions of T, and in the statements Si labelled by Ti, the case variable is considered as of type Ti.“

Thanks!
  Oliver

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20190222/d7cd49e1/attachment.html>


More information about the Oberon mailing list