[Oberon] Alternatives for cases.

Chris Burrows chris at cfbsoftware.com
Thu Mar 7 12:31:30 CET 2019


Yes - That's right. When Oberon-07 numeric CASE only accepted integers it wasn't necessary, but now characters are accepted a CASE statement with a minimum label of "a" would consume almost an extra 400 bytes without this tweak,

Chris.

> -----Original Message-----
> From: Jörg [mailto:joerg.straube at iaeth.ch]
> Sent: Thursday, 7 March 2019 5:43 PM
> To: chris at cfbsoftware.com; ETH Oberon and related systems
> Subject: Re: [Oberon] Alternatives for cases.
> 
> Chris
> Looking at your code I assume your compiler subtracts minCaseLabel
> (in your case "0") from "ch", right?
> J�rg
> 



More information about the Oberon mailing list