Passa al contenuto principale

Istruzioni case

Sintassi​

casest = ithcasest / condcasest;
ithcasest = "ITHCASE" exp "OF" "BEGIN" statement $(';
statement) "END";
condcasest = "CASE" exp "OF" "BEGIN" condcs $('; condcs)
"OTHERWISE" statement "END";
condcs = conjunct ': statement;

Il valore di un'istruzione case è il valore dell'ultimo case eseguito.