Conditional structures: Difference between revisions

m
(Add Scilab section)
Line 3,765:
=={{header|Scilab}}==
===if-then-else===
<lang>if condition1 then instructions
<lang>
if condition1 then instructions
[elseif conditioni then instructions]
....
[else instructions]
end</lang>
</lang>
===select-case===
<lang>select expresion
select expresion
case expresion1 then instructions1
[case expresion2 then instructions2]
Line 3,780 ⟶ 3,777:
[case expresionn then instructions]
[else instructions]
end</lang>
</lang>
 
 
 
=={{header|Seed7}}==
1,392

edits