Why Can’t Johnny Write

Author(s): Bob Swoger
Publication: Nite-Times News
Pub Details: Nite-Times News v3 n3 (Volume 3, Issue 3)
Date: May - June 1989
Pages: 7-9

This article is another in response to the old question “How about moving away from Sinclair and trying another computer?”. I have had this Timex/Sinclair 2068 since Christmas of 1983, a gift from my wife. I was in the first group at Motorola in Schaumburg to get the ZX80. When the ZX81 came out as a kit I was one of the first to get one. That little machine was so friendly. Motorolans all knew the secret of high viscosity mineral oil so we seldom had RAM-PACK connector crashes.

Most of our group had been programming IBM, Xerox Sigma IX and Hewlett Packard 9830s since about 1973. When we sat down to the keyboards of Commodore PET & VIC-20, Atari, and Radio Shack TRS80 & Color Computer and entered a short program that on other machines had given desired results we were frustrated by these new machines giving us only error report codes and “SYNTAX ERROR” on their screens. Dartmouth BASIC had been corrupted to the point that we “non-computer types” could no longer speak to the computers in English and get answers!

The computer types in the Motorola computer club of which none owned Sinclairs asked us to show our wares and we did. Many of them had built their own computers at home in the ’70’s era and then acquired the Radio Shack Color Computer appliances as soon as they became available. They could not understand why we “non-computer types” went with the “under $100” Sinclairs with membrane keyboards. My answer came rather quick and drew laughter. “I have a wife, a nine year old daughter and a cat at home and I wanted something at home that would do what I told it!”

Yes, it seems that Cambridge BASIC knows English! Even if we typed in a line wrong the little syntax checker would flash a flag at us which seemed to jog our ever failing memories with “RIGHT HERE, DUMMY!” so that we would not put a bad line into our programs. It was so easy to write now, even easier than it was on the Dartmouth BASIC machines.

After both of us tried for a half an hour to write a program on his VIC-20 a friend asked why I thought my machine was better than his. Not being anywhere near my home we went to his local K-MART store and I began composing a short game program on their T/S 1000 display machine. I would run it again and again

as I composed it and the sales person for that area realized what was going on and grabbed a pencil and paper. Not sure if what I was doing was OK to do I asked him if I should stop what I was doing. He said “No, go ahead” and I did. He wrote down everything I entered! This is what I wrote. ‘F’ is the FIRE key and the arrow keys move the ENTERPRISE around the screen.

   1 LET X=15
2 LET Y=10
1000 PRINT AT Y,X;"6F";
1010 LET U$=INKEY$
1020 IF U$="F" THEN PRINT ".......";AT Y,X+2; "^^^^^^^"
1030 PRINT AT 21,0;"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^";AT 21,RND*31;".";AT Y,X;"^^"
1040 LET X=X+(U$="8")-(U$="5")
1050 LET Y=Y+(U$="6")-(U$="7")
1060 SCROLL
1070 GOTO PI

(Lines 1000,1020 and 1030 are all graphics characters between the quotes. ^ is a graphics space.)

Another reason the machine was very easy to control was the simplicity and completeness of the manual the English provided. The English are not verbose and tell all in very few words. The only fooling around they seem to do is their sly use of G$. Also the split screen and screen rewrite features of these machines make screen control as easy as slicing cheese!

 10 POKE 16418,0
20 FOR I=1 TO 24
30 PRINT "^^^^^^^^^^CHEESE"
40 NEXT I
50 FOR I=23 TO 1 STEP -1
60 POKE 16418,I
70 FOR J=24-I TO 0 STEP -1
80 SCROLL
90 NEXT J
100 NEXT I
110 POKE 16418,2

(^ means space.)

No wonder I didn’t rush right out and get a T/S 2068 when it came out but now I am very “into” this fine machine. The screens are more fun and it is almost as easy to write on. So now as those about me are moving up to the $2200 IBM clone systems, I am still doing more and more with my T/S 2068 as there seems to be no limit to what it can do with very little investment. They report that their families still can’t use them as these IBM clones are too complicated for non-computer types. And even these computer types can’t do things as quick and easy as the T/S 2068 does it.

At a Motorola MicroComputer Club class at which I was the instructor I made the comment that the Sinclair could probably act as a scientific calculator in about 6 lines of BASIC. I was asked to prove it and I did but it only took three lines! (One if you just ask in the immediate mode.)

10 INPUT "What's your problem?";G$
20 LET A=VAL G$
30 PRINT G$;"=";A

Enter a formula to solve but try to keep it down to less than about 730 characters as the little Sinclair warning buzzer will start to sound. The string in the T/S 2068 is capable of being over 18000 characters long and should still work. If your T/S 2068 already knows the values of some variables put them into the formula also and just GOTO the first line instead of RUNning the program, it will still work. Try this on any other machine and if you find one that runs this program write me and let me know, I may invest in one.

I was recently invited to the Chicago Area Timex Users Group, CATUG, as a result of Jeff Moore mentioning me in TYD-BYTS. At the first meeting I attended I was asked why I hadn’t moved up to the QL and after trying my little 3 line program above on one of their machines and finding that it didn’t run, I told them that I saw no advantage in “Up-Grading?”. T/S 2068 BASIC was supposed to be a subset of QL BASIC but something seems to be missing! VAL doesn’t work and the string length seems to be limited to 256.

When will I switch? I hate limitations! Only when I can move up to a machine that can do at least what I can do already will I lay aside my T/S 2068. My friend who has programmed IBMs for over 20 years at a well known bank says his own IBM machine can not come to the keyboard and do a VAL to an inputted string. Most machines wouldn’t let you enter more than 256 characters, so even if they could do this trick they couldn’t handle an equation given on a black board by one of those college profs.

Why can’t Johnny write? Maybe it’s his BASIC! It is really no fun to write on a belligerent machine and poor Johnny quickly loses interest in writing when all he gets is SYNTAX ERROR and error report codes and his strings are limited and muddled with LEFT$, RIGHT$ and MID$. It would seem that while Sinclair takes us toward artificial intelligence others take us toward artificial stupidity! Maybe getting him one of those machines with a mouse and pull down windows made for the functionally illiterate with games and all kinds of canned software will get him in front of the computer again? Sure, he will be doing things on the computer but not getting to know computing. Don’t worry about him too much, though. He can probably become the manager of some big corporation and they seem to love that type of machine.

So how do we keep a good thing going? We must get writing! There are a few good programmers and hardware developers out there. Stan Lemke is getting better every day. Though his heads are still off his screens are getting prettier. Larry Kenny has given us a disk system and battery backed up RAM-DISK for under $200. It is like trading a lawn mower engine for a big V8. Getting around in a disk system is almost lightning fast. One can use the 256K RAM-DISK alone for program stores and loads in less than 2 seconds and move from program to program in less than 10 seconds.

Finally, if you have a program you use, even if you think it is too meager for others to use, please send it in to your favorite Sinclair magazine and share it with all of us. It will give us hackers something to have fun with and keep Sinclair magazines and the T/S computers alive for years to come.