Jump to content

Conditional structures: Difference between revisions

m
Line 3,765:
=={{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}}==
1,392

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.