|
![](/i/fill.gif) |
Le 22/11/2010 11:40, Kenneth a écrit :
> An honestly naive question: Which mode of operation *should* be correct,
> compared to other standard computational languages?
>
Both are correct and doing as usual in povray.
(They say the same for me)
The first one is nevertheless more prone to error of interpretation
(because "clause conditional" does not refer to #case/#range (clause)
but to the block (conditional) that is under the #case/#range clause,
even if false)
Traditional computational languages behave the same way:
when no break, the instructions continue on the following lines.
It's an old tradition.
(a switch/case/break can be rewritten with if/table & goto... including
a goto to exit the switch block (as break): no break, no jump.
Post a reply to this message
|
![](/i/fill.gif) |