13 lines
226 B
Text
13 lines
226 B
Text
+ n : INTEGER;
|
|
|
|
n := 3;
|
|
|
|
(n = 2).if {
|
|
IO.put_string "n is 2\n";
|
|
}.elseif {n = 3} then {
|
|
IO.put_string "n is 3\n";
|
|
}.elseif {n = 4} then {
|
|
IO.put_string "n is 4\n";
|
|
} else {
|
|
IO.put_string "n is none of the above\n";
|
|
};
|