Bad Dan1, bad. Don't give advice when you don't know what you're talking about. That won't work. Listen to cpaz.
That said, if you don't know if a variable is defined at some point in your code then you have bigger problems with your code's design.
Lastly, screw this mobile keyboard. Gracious.