Results 1 to 5 of 5
Thread: Not sure exactly what to use.
- 05-11-2010, 12:22 PM #1
Member
- Join Date
- May 2010
- Posts
- 2
- Rep Power
- 0
Not sure exactly what to use.
I'm drawing a complete blank here. I should know this, but I think I'm looking up the wrong thing.
Basically I'm inputing a varible, be is a int or a String, but basically I need to add some code that will activate if I input something that I'm not suppose to or input something incorrectly. In other words I am handling illegal menu selection or input data without terminating the program.
I'm not asking for exact code, and thus why I didn't post any, but just what I need to look up. If that makes any sense
Any help?
- 05-11-2010, 12:26 PM #2
- 05-11-2010, 05:58 PM #3
Senior Member
- Join Date
- Mar 2010
- Posts
- 953
- Rep Power
- 4
- 05-11-2010, 07:23 PM #4
Are you in need of an else statement? Or a defualt, if you're using switch?
- Masochist.
- 05-11-2010, 08:45 PM #5
Member
- Join Date
- May 2010
- Posts
- 2
- Rep Power
- 0


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks