Thread
:
Can't get loop to work
View Single Post
03-20-2005, 03:54 PM
#
6
(
permalink
)
Belisarius
Java fanboy
Join Date: Aug 2003
Posts: 1,139
Arg, C style Java . . .
Anyways, stylistic comments aside, you're using "&" in your while loop. This doesn't do what you think it does. You want "&&", which is a boolean AND. "&" is a binary AND.
__________________
GitS
Belisarius
View Public Profile
Find More Posts by Belisarius