Scilab-Branch-6.1-GIT
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
elseif
keyword in if-then-else
Description
If there is more than one condition then keyword elseif is useful.
If there is more than one elseif then the first true condition
is selected (even other also are true).
Examples
History
| Version | Description |
| 6.0.0 | elseif is now protected:
Assignments like elseif=1 are no longer possible. |
| Report an issue | ||
| << else | Control flow | end >> |