View Single Post
Old Feb 23rd, 2005, 8:30 PM   #3
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
I didn't read the entire thread.... but i did notice in your comparisons..

...
if (gasCode == 'b' || 'B')
...

those should actually be along the lines of this

...
if (gasCode == 'b' || gasCode == 'B')
...

you could also use the toupper or tolower function, or a double cased switch statement to do this.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote