|
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."
|