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

15 lines
179 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
a := GetValue();
select(a) {
label 5: {
"equal to 5"->PrintLine();
}
label 7: {
"equal to 7"->PrintLine();
}
other: {
"another value"->PrintLine();
}
};