Visual C++ .NET <-> Free Pascal | Loop with condition on the beginning
Visual C++ .NET  Used keywords: while 
while
Description
while (condition) statementInput
- condition - Logical value The condition can be any expression
- statement - statements
Examples
Visual C++ .NET
Loop with condition on the beginning the possible of use:i=0;
while (i<10) ++i;
x =0;
while (i<20)
{
 i= i+2;
 if (i==16)
 {
    continue;
 }
 x++; 
}.
Free Pascal  Used keywords: do  while 
while do
Description
while condition do statement;Input
- condition - Logical value The condition can be any expression
- statement - statements
Examples
Free Pascal
Loop with condition on the beginning 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;Loop with condition on the beginning in another programming language:
Differences to: