RosettaCodeData/Task/Conditional-structures/Objeck/conditional-structures-2.objeck

15 lines
179 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
a := GetValue();
select(a) {
label 5: {
"equal to 5"->PrintLine();
}
label 7: {
"equal to 7"->PrintLine();
}
other: {
"another value"->PrintLine();
}
};