Improvement for the INPUT command
|
02-27-2017, 06:33 AM
Post: #6
|
|||
|
|||
RE: Improvement for the INPUT command
(02-27-2017 04:47 AM)compsystems Wrote: For the case of a single data, if the entered data is correct, if there is an extra step, but if the entered data is incorrect, how do you re-edit it? Why would you expect to be able to re-edit the input? You had the chance to check your input while filling out the input field. Your program should behave just like any other command that has been given the wrong input -- return an error message. If you want continually allow the user many attempts to enter a valid input, then you would need a loop that also checks to see if the input is valid -- and this would be the case whether your input command uses a single variable or many variables. Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Improvement for the INPUT command - compsystems - 02-24-2017, 06:31 PM
RE: Improvement for the INPUT command - EdDereDdE - 02-24-2017, 08:22 PM
RE: Improvement for the INPUT command - compsystems - 02-27-2017, 12:34 AM
RE: Improvement for the INPUT command - Han - 02-27-2017, 03:21 AM
RE: Improvement for the INPUT command - compsystems - 02-27-2017, 04:47 AM
RE: Improvement for the INPUT command - Han - 02-27-2017 06:33 AM
RE: Improvement for the INPUT command - EdDereDdE - 02-27-2017, 10:13 AM
|
User(s) browsing this thread: 1 Guest(s)