Free Pascal <-> Java | Continue statement

Free Pascal

continue

Description

continue ;
Used keywords: continue

Examples

Free 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;
.
Java

continue

Description

continue ;
Used keywords: continue

Examples

Java

Continue statement the possible of use:
i=0;
while (i<10) ++i;
x =0;
while (i<20)
{
 i= i+2;
 if (i==16)
 {
    continue;
 }
 x++; 
}
Languages: en hu cz sk