Scilab 6.1.0
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
break
palavra-chave para interromper um laço ("loop") (significa "interromper (neste ponto)")
Descrição
Dentro de um laço for
ou while
loop, o comando break
força o fim do laço.
Exemplos
k=0; while 1==1, k=k+1; if k > 100 then break end; end
Histórico
Version | Description |
6.0.0 | break is now protected:
Assignments like break=1 are no longer possible. |
Report an issue | ||
<< abort | Control flow | case >> |