Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português -

Please note that the recommended version of Scilab is 6.0.2. This page might be outdated.
See the recommended documentation of this function

Scilab manual >> Scilab > continue

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

作者

Serge Steer, INRIA

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:25:00 CET 2011