Conditional structures: Difference between revisions

Content added Content deleted
(Add Batch File section)
(Add Scilab section)
Line 3,762: Line 3,762:
<pre>composite
<pre>composite
consonant</pre>
consonant</pre>

=={{header|Scilab}}==
===if-then-else===
<lang>
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]
...
[case expresionn then instructions]
[else instructions]
end
</lang>




=={{header|Seed7}}==
=={{header|Seed7}}==