<head>
        <title></title>
</head>
<body>
<div class="userStyles" style=" font-family: Arial; font-size: 12pt; color: #000000;">Yes.  Refer to https://people.inf.ethz.ch/wirth/Oberon/Oberon.Report.pdf for the basics, and one of the basic Oberon programming textbooks for examples.  You don't need BEGIN ... END around the block.<br>
<br>
--John R. Strohm
<footer class="replyforwardcontainer"><br>
<span>On Thu, 8 Apr 2021 16:31:30 -0600, Duke Normandin <dukeofpurl@gmx.com> wrote:</span><br>
<br>
Is it possible to have execute a block of code - BEGIN .... END for one or more CASE alternatives? I'm trying to simulate the following C code:<br>
<br>
switch (c){<br>
case '1':<br>
printf("Enter a number/temperature to convert: ");<br>
scanf("%f", &temp);<br>
printf("Your input was %.1lf Fahrenheit\n", temp);<br>
printf("That's %.1lf in Celsius\n", fahr2cels(temp));<br>
break;<br>
--<br>
Duke Normandin <dukeofpurl@gmx.com><br>
--<br>
Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems<br>
https://lists.inf.ethz.ch/mailman/listinfo/oberon</dukeofpurl@gmx.com><br>
 </footer>
</div>


</body>