05-27-2016 12:22 PM
I'm going to make a general observation that may help.
Since a Prompt is user entered text the advantage is that the user gets to enter what he wants (he thinks) and can be flexible.
The disadvantages are all related to how and what is entered that is not expected. You may expect a single value such as 2, the users enter multiple values such as1 2 3 or attempt to enter a range "1 to 3" or "1 - 3". Or the value should be numeric but users enter $45 (they think it is numeric but the $ isn't expected) or entering words. There are many permutations of this behavior.
So who ever writes the program code needs to add either constraints on what can be entered or check the values after entering for validity. Then provide nice feedback about the values entered don't work.
05-28-2016 05:31 AM