On Sep 22, 2005, at 9:16 AM, Charlls Quarra wrote:
I sure know that, what i think is rather odd is that
n.do{} starts at 0 and jumps to n-1, n-2.... .
huh? it doesn't do that.
I thought this was doing 0, 1, 2, ... n-2, n-1
It does this. That is what your example shows. Are you confused by the first 3 printed?3.do {} returns 3, which is what you see first since it gets printed as the result of the expression.