Did you ever type in a program only to find that it wouldn’t run because of a typo in the article? All that time waisted! I recall talking to a member of one group who told me that she couldn’t understand why a member detested having his programs typed into the club newsletter from a printout rather than using the data on a disk or tape. This of course was because a QL or IBM can’t read T/S tapes or disks. [Thanks to George Chambers, T/S users can read IBM and QL disks. This issues Secretary report is from a IBM formatted QL disk.]
No matter how good a typist is there are always mistakes. The present day P.C.s pay a great price to get character recognition software to convert pixel information to word processor data. We practically have it for free, it came in our TS2068s!
Here is a little utility I used on the last article to get the BASIC listing on the screen to a TASWORD TWO file.
TO USE:
Bring the BASIC program listing up on the screen. If you have a LarKen system, press the NMI button followed by ‘S’.
If you don’t type:
SAVE “SCREEN.CM” SCREEN$
Exit that program and load in the program presented here. Be sure to have a copy of TASWORD on the disk. This program will auto-run and call in TASWORD. Load in screen.CT and set the block markers to the top and bottom of the text.
Merge in the article you are writing, go to the bottom of the file, press ENTER once, and do the block move sequence. The portion of the BASIC program is now at the bottom of the file.
Repeat this as many times as it takes to get the entire BASIC file into the article file.
Use the scroll feature on the BASIC to get to the right screen segment to save.
You will like now having flawless copy for your newsletters, and the readers will appreciate seeing the program in print just the way it is to appear on the screen as they type it in. Just don’t play with it in the word processor!
10 REM SCREEN$ TO TASWORD TWO ©1991 by Bob Swoger
20 RANDOMIZE USR 100: LOAD "SCREEN.CM"SCREEN$
30 LET t=33280
40 FOR r=0 TO 21
50 FOR c=0 TO 31
60 POKE t,CODE SCREEN$ (r,c)
70 LET t=t+1
80 NEXT c
90 FOR t=t TO t+31
100 POKE t,32
110 NEXT t
120 NEXT r
130 RANDOMIZE USR 100: SAVE "screen.CT"CODE 33280,1408
9992 RANDOMIZE USR 100: SAVE "$C2TAS.B1" LINE 20
9998 RANDOMIZE USR 100: LOAD "TASWOR.BA"
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.