Guys, is there any way I can make a script wait for a certain key to be pressed before continuing with the next part?
As an example, for those who speak old Sinclair BASIC:
10 PRINT "item 1"
20 IF INKEY$ <> "F4" THEN 20
30 PRINT "Item 2"
.
.
.
For thise that don't understand the old Sinclair way of doing things - Line 20 waits for a key to be pressed, then compares that keypress to the value for the F4 key. If F4 IS pressed, the program then executes from the nest line, else it executes line 20 again, and continues to do so til either F4 or the break key is pressed.
All I want to be able to do, if press F4 for the script to display the next item in the script, but not before.
I bet there's a real simple way to do this, only I can't seem to work it out.....