Text Edit

Author(s): Dick Wagner
Publication: The Plotter
Pub Details: The Plotter v2 n8-9 (Volume 2, Issue 8-9)
Pages: 3

This month we are back with our P and R column after a couple of months off. Our 2068 program and our 1000/ZX81 program are both from Dick Wagner. They were not both given to us at the same time, but sooner or later we do use most of what comes our way. Ir you have sent in material and have not seen it in print as yet, don’t give up hope, it will be resurrected to see print in the future.

Meanwhile, maybe you can make use of the routine below to check and correct your inputs on a long MC program. It just might save a lot of time and eyestrain for a lot of you.

The 1000/ZX81 program is a short WP program for those of you who do not have a 2000 and would like to use your computer in a very limited way for word processing.


TRY THIS SHORT WORD PROCESSOR FOR THE 1000 COMPUTER. IT IS SELF-STARTING SO BEAK IT WITH EDIT, STOP AND ENTER TWICE. YOU WILL THEN GET INSTRUCTIONS IN REM STATEMENTS.

   1 REM "TEXT EDIT" FROM DENNIS JURRIE'S EARLY LIBRARY, REVISED BY DICK WAGNER.
2 REM USE SHIFTED 5,8, AND 0 TO MOVE THE CURSOR FOR EDITING IN THE USUAL WAY.
5 REM BEST TO COPY EACH PARA-GRAPH AS THE SCREEN GETS SLOWER WITH LONG DISPLAYS.
6 REM LPRINT WITH ANY OF THE CHARACTERS SHOWN ON LINE 50. USE ENTER TO LPRINT .
8 REM DELETE LINE 95 IF SELF-STARTING IS NOT WANTED.
10 FAST
15 INPUT A$
20 IF LEN A$>32 THEN GOTO 35
25 LPRINT A$
30 GOTO 15
35 LET C=0
40 [illegible] THEN GOTO 65
45 LET B$=A$(32-C)
50 IF A$(33-C)=" " OR B$="," OR B$="." OR B$=":" OR B$=";" OR B$="?" OR B$=CHR$ 11 THEN GOTO 70
55 LET C=C+1
60 GOTO 40
65 LET C=0
70 LPRINT A$( TO 32-C)
75 LET A$=A$(33-C TO )
80 IF A$(1)=" " THEN LET A$=A$(2 TO )
85 GOTO 20
90 SAVE "TEXT EDIT"
95 GOTO 5

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.