On Feb 16, 7:01 am, "Bart Ogryczak" <[EMAIL PROTECTED]> wrote: > On Feb 16, 4:30 pm, "stdazi" <[EMAIL PROTECTED]> wrote: > > > for (i = 0; some_function() /* or other condition */ ; i++) > > C's "for(pre,cond,post) code" is nothing more, then shorthand form of > "pre; while(cond) {code; post;}"
I don't disagree with your basic point, but technically this is not quite true. Try it with for (i = 0; i < n; i++) { if (x[i] == 0) continue; printf("%d\n", x[i]); } -- http://mail.python.org/mailman/listinfo/python-list