Posted By
Basman on 2019-04-26 06:26:29
| Re: Input warning (??extra ignored)
I don't think you can do that in basic only, because the error message is shown before the next basic instruction is executed. With asm, you may hijack the error vector to a routine that skips printing the message for that specific error and sets a flag in ram that can be checked with a PEEK statement. The best way to deal with this anyway is to not use INPUT at all and rely on an asm routine called via SYS. I made one that works well and fills a basic string variable. This way you can filter out any unwanted keypresses such as cursor movements.
|