Free Pascal <-> C# | Continue statement
Free Pascal Used keywords: continue
continue
Description
continue ;
Note: Usable in the following locations:
loop with condition on the beginning loop with condition at the end until is false
loop with condition on the beginning loop with condition at the end until is false
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;
.
C# Used keywords: continue
continue
Description
continue ;
Note: Usable in the following locations:
loop with condition on the beginning loop with condition at the end until is false
loop with condition on the beginning loop with condition at the end until is false
Examples
C#
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++;
}
Continue statement in another programming language:
Differences to: