for(RegNumberFound = false; (!RegNumberFound) & ((s = InputAddresses.readLine()) != null);)
Perhaps your loop is working as you want because of this "&". I believe that's the bitwise AND operator and you probably want "&&".
Phaelax
Practically a Posting Shark
858 posts since Mar 2004
Reputation Points: 92
Solved Threads: 51