dianna
New Member
The Lawn Ranger - Have Grow, Will Mow
Posts: 16
|
Post by dianna on Feb 20, 2007 22:39:01 GMT
When I run a program and I entered the wrong input, how do I close the program so I can redo the input. It's giving me the message 'redo from start'. I have tried typing 'yes' and 'no' with the same message coming up.
|
|
|
Post by Mikrondel on Feb 21, 2007 5:43:20 GMT
You specified a numerical variable to INPUT to, therefore it will only accept valid numbers.
You can instead input to a string and use VAL to convert this to a number, if a number is what you want.
|
|
dianna
New Member
The Lawn Ranger - Have Grow, Will Mow
Posts: 16
|
Post by dianna on Feb 21, 2007 20:43:59 GMT
I realize that is what I did, but I need to know how to exit the screen showing the running program and get back to the screen where I am writing the program without completely shutting down the program. Are you saying that when it says 'redo from start' I can type a numerical value instead of a text string for the program to accept it?
|
|
|
Post by Ildûrest on Feb 22, 2007 20:43:12 GMT
"Redo from start" for some stupid reason means "Please enter input again"
But to terminate a running program, press Ctrl+Break (Break usually being the same as the Pause key)
|
|
dianna
New Member
The Lawn Ranger - Have Grow, Will Mow
Posts: 16
|
Post by dianna on Feb 24, 2007 22:36:55 GMT
It worked.... Thank you
|
|