Scilab 6.1.0
Scilabヘルプ >> Scilab > Control flow > break
break
ループ中断を表すキーワード
説明
for
または while
ループの中で, コマンド break
は
ループを強制的に終了します.
例
k=0; while 1==1, k=k+1; if k > 100 then break end; end
参照
履歴
Version | Description |
6.0.0 | break is now protected:
Assignments like break=1 are no longer possible. |
Comments
Add a comment:
Please login to comment this page.