Please note that the recommended version of Scilab is 2023.1.0. This page might be outdated.
See the recommended documentation of this function
select expr, case expr1 then instructions1, case expr2 then instructions2, ... case exprn then instructionsn, [else instructions], end
The only constraint is that each "then" keyword must be on the same line line as corresponding "case" keyword.
The keyword "then" can be replaced by a carriage return or a comma.
instructions1are executed if
Warning: the number of characters used to define the body of any conditionnal instruction (if while for or select/case) must be limited to 16k.
|<< return||Scilab keywords||semicolon (;) >>|