2141smh@aluxe.UUCP (02/28/84)
I am looking for a way to use the break key as in interrupt in a basic program. I have an error recovery set up which could also be used in connection with the break key. My program has a user menu. If one makes the wrong selection at the menu, I would like to make recovery possible by just pressing the break or some other otherwise useless key so they can return to the menu. The point at which the interrupt is necessary is when a lineinput or regular input comes up. I am using a Model III with 48K and Disk Basic.
johnc@dartvax.UUCP (John Cabell) (03/01/84)
If you could use a useless key, why not use the '@' and put in a peek loop to see if he wnts to get out? You could also, if you have an input someplace, see if he has put an '@' and go back to the menu. --johnc ...!decvax!dartvax!johnc