See all articles from Syntax/Syntax ZX80 v3 n4
This 8K program lets you type in text 34 columns by 22 lines and fits in 2K RAM. Enter the program, then SAVE it immediately (computer sometimes crashes upon exiting).
RUN and type in text (you won’t get an input prompt L). Use shift 1 to space and shift 0 to backspace. Hit ENTER (or NEWLINE) to go to the next line.
Depending on the screen border, the 34th column may or may not entirely show. Do not type in multiple character keywords (STOP, LLIST, etc.). This idea can be used for other applications.
1 FOR I=1 TO 747
2 PAUSE 900
3 LET A$=INKEY$
4 IF CODE A$=117 THEN LET A$=" "
5 IF CODE A$=119 THEN LET I=I-1
6 IF CODE A$=119 THEN LET A$=""
7 IF A$="" THEN GOTO 2
8 POKE (PEEK 16396+256*PEEK 16397)+I,CODE A$
9 NEXT I
SYNTACTIC SUM: 12453, 8K
Media
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.