
Dear Ed,
The RAMpac connector on my computer was very intermittent and would crash the programs with any slight movement. Now I have the new Timex 2040 printer , which I love, installed between the computer and RAMpac. Now I can even pick the computer up and shake it – nothing happens.
This letter (re-typed by us – Ed.) was printed with your BABY SYNTEXT program (by the following)
BREAK and enter – LPRINT A$ (1 TO B)
Thanks
R. Barrhart – Phoenix AZ
Dear Ron,
I tried the shake test you suggested with the same results. Although there seems to be some teeter-tottering, the connection does seem better.
Your printing hint with BABY SYNTEXT works just fine and will print the entire text as it appears on the screen from beginning to end, including what’s not on the screen.
One important note, however, is to make sure the cursor is at the end of the text you want to print before you hit the BREAK key – otherwise the text will only be printed up to the cursor. If the cursor is at the beginning of the text, nothing will be printed.
Format the text on the screen as it is entered and it will be printed the same way – Ed.
Dear Ed,
Very much agree with your assessment of the new TS-2040 printer – – – – except for one thing. This “thing” is really bugging me!
I’ve routinely used something like “PRINT TAB 30 – LEN STR$ A; A” to neatly format columns of whole numbers. Doesn’t work with LPRINT and the printer. Neither does “LLPRINT AT 0, 30” etc.
How come and how do I solve it?
Thanks – J. Banks Jr., Ridgefield CT
Dear Joe,
I don’t know why – but I can tell you how to solve it. The secret lies in converting the number into a string variable, like you have already done, but also attaching enough blank spaces before the number. This sample routine will do it:
10 DIM B$(30)
20 INPUT A
30 PRINT TAB 30-LEN STR$ A;A
40 LET A$=B$( TO 30-LEN (STR$
A))+STR$ A
50 LPRINT A$
60 GOTO 20
A$ becomes the string variable with the number occupying the last characters of the string. I’m sure there are other ways of doing it, too – Ed.
Dear Ed,
This month’s (April/83) article on RENUMBER is one I received with open arms. I’ve used it with limited success. Most of the time, the screen goes blank and it will not BREAK. There’s nothing left to do but “pull the plug” and start over. Twice program lines renumbered themselves but I had no EDIT capabilities afterwards. All the program would do is LIST but it wouldn’t RUN. Once again I had to pull the plug.
I tried all four routines with the same or similar results. Versions B & C are identical, aren’t they? Perhaps you will have more on this in your next issue.
In respect to “The People’s Computer”, in my unsolicited opinion, IT IS the TS-1000.
Keep up the good work,
Willy Manuel – Las Vegas, NV
Dear Willy,
Actually, all four versions use the same PEEK & POKE methods – and you are right about the renumbering problems. The Old Professor relates to this in this month’s tutorial.
Whenever POKEs are performed within existing program area, strange things can happen – the disabling of the LIST, RUN and EDIT can be a few.
I have noticed that if the line-renumbering routine is RUN without any additional program lines, the routine will renumber part of itself and then bomb. Yet if the program to be renumbered is too long, the first un-renumbered line can’t be edited. Also, the maladies are not consistent between the ZX-81 and the TS-1000.
Regarding the TS-1000 as the “People’s Computer”, too many complaints abound regarding the dislike for the membrane keyboard and the RAMpack causing program crashes.
My own dislike is its inability to store data on tape, separate from the program.
The TS-1500, on the other hand, will overcome these first two problems and the TS-2000 will overcome them all and have color to boot. It is not inperceivable to envision a 48K version of the TS-2000 to be selling for less than $100 about a year from now. I predict everybody and his (her) mother will own one.
But who am I to make such prophecies. The ZX/TS machines have sold well over a million so far in just the U.S., which makes the ZX/TSs the largest selling computer in the time span they have been available.
Besides, every year I pick the Bears to go to the Super Bowl – Ed.