vintage-basic icon indicating copy to clipboard operation
vintage-basic copied to clipboard

TAB count is not reset after INPUT statement

Open sorenroug opened this issue 6 years ago • 2 comments

Description: A program displays some data in columns and then asks for information at the end of the line with an INPUT statement. The user submits the input by hitting RETURN. This sends the cursor back to column 1 on the screen, but the TAB count is not reset. Example:

10 REM TAB count is not reset after INPUT statement
20 REM Program asks for input at end of line of information
30 PRINT TAB(10);"TEN";TAB(20);"XX";TAB(30);30;TAB(40);"TYPE HERE:";TAB(60);
40 INPUT A$
50 GOTO 30

This issue is found in line 112 in the Defuse game in More BASIC Computer Games - See Atariarchives.org.

sorenroug avatar Jan 25 '20 07:01 sorenroug

Good catch! I'll look into it.

lylek avatar Jan 29 '20 02:01 lylek

I've fixed this in the master branch. Have not yet created a distribution.

lylek avatar Feb 07 '21 20:02 lylek