View Single Post
  #5  
Old 11-22-2002, 04:11 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

This might not be the answer youre looking for, but using != max is a bit dangerous.
If max gets set to a value other than an integer, or the comparison fails to catch the exit condition, which might be easy to do, this is an infinite loop.

Safer practice would be <=max_type
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote