10 lines
257 B
Text
10 lines
257 B
Text
case i of
|
|
when {1, 4, 9}: # Executed if i is 1, 4 or 9
|
|
statement1;
|
|
when {11} | {13 .. 17}: # Executed if i is 11, 13, 14, 15, 16 or 17
|
|
statement2;
|
|
when {42}: # Executed only if i is 42
|
|
statement3;
|
|
otherwise:
|
|
statement4;
|
|
end case;
|