Stupid question deleted.

Recommended Answers

All 2 Replies

Can we please see more of the code - those two lines don't show enough to create or diagnose a problem. Ideally, post a small runnable program that demonstrates your problem.

There was just something else in my coding causing it to go in a never ending loop! yes scanners should normally allow string variables to parse into them for anyone else who needed to know this...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.