Quote:
|
Originally Posted by _Z3phyr_
for ( t = 0; t <= 2; t ++) {
^that will make it loop to 2. *shrug*
I don't know about any loop limit or whatever so someone else can post about it.
EDIT - to below poster:
Really? I always believed that < makes it stop at the number below the number because if its ==2 then its not less than, and if it was <= it would stop at the number given because it would still be true.
I don't know though so whever works. My mistake.
|
<= will make the var increase for the final time when the var is #, < will make the var increase at the value before #.