Thread
:
eternal loop problem
View Single Post
#
2
(
permalink
)
04-27-2007, 05:24 PM
pegitha
Member
Join Date: Apr 2007
Location: Indiana
Posts: 84
All int variables are always less tha or equal to Integer.MAX_VALUE, which is defined as the highest int value. When i gets to Integer.MAX_VALUE andi s incremented, it silently wraps around to Integer.MIN_VALUE, thus the eternal loop.
p
pegitha
View Public Profile
Send a private message to pegitha
Visit pegitha's homepage!
Find all posts by pegitha