| Posted By
 SVS on 2019-04-03 05:56:31
 | Input warning (??extra ignored)
Does anybody know how to acknowledge if during a program, the INPUT command went into "?? extra ignored" condition? I mean is there any flag or memory location the program itself can test and consequently operate?
|
|
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.
|
|
|
| |
Copyright © Plus/4 World Team, 2001-2025. Support Plus/4 World on Patreon |