Conditional structures: Difference between revisions
m
→{{header|Scilab}}
PatGarrett (talk | contribs) (Add Scilab section) |
PatGarrett (talk | contribs) |
||
Line 3,765:
=={{header|Scilab}}==
===if-then-else===
<lang>if condition1 then instructions▼
▲if condition1 then instructions
[elseif conditioni then instructions]
....
[else instructions]
end</lang>
===select-case===
<lang>select expresion
case expresion1 then instructions1
[case expresion2 then instructions2]
Line 3,780 ⟶ 3,777:
[case expresionn then instructions]
[else instructions]
end</lang>
=={{header|Seed7}}==
|