View Single Post
Old Sep 25, 2011, 06:22 PM   #21
razaron
500 Posts
 
razaron's Avatar
 
Join Date: Apr 2008
Location: london
Posts: 608 (0.33/day)
Thanks: 170
Thanked 185 Times in 140 Posts

System Specs

How about having x be a string (instead of an int) then try to parse it into an int? If it doesn't parse it should go to the catch.

EDIT: by x I mean the number you're inputting.
__________________
My Anime List
BattleTag (EU): razaron#1882
Steam: Razaron
razaron is offline  
Reply With Quote
The Following User Says Thank You to razaron For This Useful Post: