Is this a 'bug' I think I have had probs with this and have had to
change it to:-

Code:
a=0;
While(a<10) {
....
....
a++
}
The example in the title seemed to skip the case where a=0
and start off with a=1.

I was under the impression that a++ meant the increment
was done before the test as in the asignment:-
Code:
a=0
b=a++; /* b now 0 */
but:-
Code:
a=0;
b=++a; /* b now 1 */