Conditional structures: Difference between revisions
Add Scilab section
PatGarrett (talk | contribs) (Add Batch File section) |
PatGarrett (talk | contribs) (Add Scilab section) |
||
Line 3,762:
<pre>composite
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}}==
|