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
continue
ループの次の反復に制御を移すキーワード
説明
for
または while
ループの中で,
コマンド
continue
はループの次の反復に制御を移します.
この際,この命令とループのend
命令の間に
残る命令を全てスキップします.
例
for k=1:10 K=k; if k>2 & k<=8 then continue disp('hello') end k end for j=1:2 x=[]; for k=1:10 if k>j+1 & k<=8 then continue end x=[x,k]; end x end
履歴
Version | Description |
6.0.0 | continue is now protected:
Assignments like continue=1 is now impossible. |
Report an issue | ||
<< case | Control flow | do >> |