View Single Post
  #6  
Old 08-28-2006, 07:43 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
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 #.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote