Getting user's choices from a menu
- Posted by Caracatsanis Pty Ltd <sunpsych at VIC.OZLAND.NET.AU> Aug 13, 2000
- 418 views
I'd appreciate some ideas about user-friendly and fool-proof ways of doing this: 1 present the user with a menu of choices (not mutually exclusive): eg MENU OF USER CHOICES A this B that C other 2 get user's choice(s): eg ENTER THE LETTER (A,B,C) OF YOUR CHOICE(S): 3 suppose the choices are A and C. Is it preferable to read them as a "unit", or as separate items? Should I insist on spaces between choices? If so, what happens if the user enters AC instead of A C? What if the menu choices were numerals (1,2,3) instead of letters? Would the code differ? Would there be any different issues to take into account? Thank you Alex Caracatsanis