Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v3 n12 (Volume 3, Issue 12)
Date: December 1982
Pages: 4
Set the cursor to the line you want to edit by ENTERing LIST and line number. Move the cursor in the line with shift 6 or shift 7.
Press shift 1 (EDIT) and the line moves to the bottom of the screen. Delete a line number with shift 0, put in the new line number and ENTER. (This method is helpful when your program contains many similar PRINT lines.) Hit shift 1 (EDIT) again and the line again displays at the bottom of the screen. When editing is complete, press ENTER and the new line is put in the program.
To center a print statement:
10 INPUT A$
20 PRINT AT 10,(31-LEN A$)/2;A$
To center multiple statements:
10 LET L=8
20 INPUT A$
30 LET C=(31-LEN A$)/2
40 PRINT AT L,C;A$
50 LET L=L-1
60 GOTO 20
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.