R
Roopesh
It's actually pretty close to Fortran:
do
...
enddo
James Tursa
I think that both are same, either you go with for(;
But i guess, on the internal workings, while(1) is far better than for
(;
while implementing the for(;
variable, for incrementing it and checking for infinity [ Correct me
if am wrong ], whereas in the case of while(1), its just a flag check
and nothing more.
So, i would prefer to use while(1) than for(;
readability.
Roopesh.