Conditional structures: Difference between revisions
Content added Content deleted
m (→Ternary) |
(Conditional in Monicelli) |
||
Line 2,352: | Line 2,352: | ||
IO.Put("Something\n"); |
IO.Put("Something\n"); |
||
END;</lang> |
END;</lang> |
||
=={{header|Monicelli}}== |
|||
Monicelli has a single conditional structure that covers both if/then/else and switch/case |
|||
<lang monicelli> |
|||
che cosè var? # switch var |
|||
minore di 0: # case var < 0 |
|||
... |
|||
maggiore di 0: # case var > 0 |
|||
... |
|||
o tarapia tapioco: # else (none of the previous cases) |
|||
... |
|||
e velocità di esecuzione |
|||
</lang> |
|||
=={{header|MUMPS}}== |
=={{header|MUMPS}}== |