Hi!
Yes ofcourse, you are right, I was to hasty.
Does it work if you add an os.flush() before the loop?
/Per Jonsson
Peter Kennard skrev:
That is not an error, the last item in the (for(;;here)) is executed
after the loop code is executed - the "side effect" only has effect
within the for statement. (;;(side effect only visible inside statment
in here))
ie: for(;;++i) ad for(;;i++) are equivalent
ie: for(;;val = ++i) ad for(;;val = i++) are *NOT* equivalent
At 05:36 3/11/2007, you wrote:
Hi!
You have a little error, you are using ++i instead of i++ on:
for(int i = 0; i < 5; ++i)
The first iteration is a 1 because the increament is done before
instead of after the looping.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]