Oh lord. Its going to be one of those days. It seems the C squiggly brackets ruined the post above.
Ok the post should have read:
I keep encountering C code as follows:
for (i = 0; i < 5; i ++)
etc.
I assume the object of this is to stop the loop when i = 5.
If this was ported literally to DBP you might end up with
for i = 0 to i < 5
etc.
however, this just means the for/next loop continues forever. Try it and see. So instead, I think the correct DBP code is:
for i = 0 to 5
I am happy to stand corrected though.
Phil
What do you mean, bears aren't supposed to wear hats and a tie?