Pascal - continue statement: continue

this command is used to start the next iteration. This means that if we execute this command we'll break the loop and continue with the next iteration.

continue

Description

continue ;
Used keywords: continue
compatible programing languages:
Object Pascal | Free Pascal

Examples

Pascal

continue statement the possible of use:
i:=0;
while i<10 do inc(i);
x :=0;
while i<20 do
begin
 i:= i+2;
 if i=16 then
 begin
    continue
 end;
 inc(x); 
end;
Languages: en hu cz sk