The DO keyword.

The do keyword performs a simular function to while. Basicaly, it repeats a block of statements. Here is an example of the syntax:
          int i=5;

            printf(" i is %d\n", i);

The program result will look like this:
 		i is 5
 		i is 4
 		i is 3
 		i is 2
 		i is 1
The main difference between do and while is the time that expression is evaluated.


Basic do.

See also:

Top Master Index Keywords Functions

Martin Leslie