Scilab 6.0.2
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
break
keyword to interrupt loops
Description
Inside a for or while loop, the command break forces the end
of the loop.
Examples
k=0; while 1==1, k=k+1; if k > 100 then break end; end
See also
History
| Version | Description |
| 6.0.0 | break is now protected:
Assignments like break=1 are no longer possible. |
| Report an issue | ||
| << abort | Control flow | case >> |