You’re right on target with a lot of what you say, Stew. I think your thoughts are shared by a number of other members. I applaud you for having the nerve to come out and name the troubles you’re having.
1000 vs 2068 vs Spectrum, etc.
You are right that the CATS newsletter often fails to clearly describe the equipment used to develop the listings. It can be quite hard to tell them apart – and it dosen’t need a word processor to make it so; just “CAPS LOCK” on the 2068. In my defense, I would say that you should consider whether you, in fact, have “no need to read and understand material on other machines that is not pertinent.” You may find that your flexibility and control of your 1000 will grow by learning something of the quirks of those other machines. In fact, the Sinclair family are quite similar – there are just a few extra things to understand, coming from the 1000. Translating from other machines can be harder, especially when string handling (Sinclairese is much easier to use). But hard or easy, learning to adapt programs written from other machines can do wonders in expanding your horizons.
You listed some specific questions at the end of your letter; I’ve got some specific answers, and then I’ll follow with some general principals.
1. page 11; BEEP isn’t a working word for the 1000 – just look in the manual’s index. There isn’t any “special knowledge” that can evoke it. Seeing the word BEEP should be enough to drop the rest of the item.
2. page 12; The printing calculator piece was written for the 2068; translating it to the 1000 involves inserting extra lines for each colon, and changing the PAUSE statements from PAUSE 0 to PAUSE 4E4.Translation can be a valuable skill. The knowledge you’ll need will be useful when dealing with programs from a variety of sources.
3. & 5., page 14; Ward’s article covered general qualities of the READ/DATA command. While the 1000 doesn’t have those keywords, they can be simulated, as discussed in my following article. Ward’s use of trailer data works with my routine as well. My READ/DATA article was an abridged recap of an earlier article – I can arrange for a copy of the original, if you like. If you had punched it in, I think that you would have understood what was meant.
4. page 15; that’s right, it’s for the 2068. But 99% of it can be directly typed into the 1000, and the rest is easily adapted. See below.
Signals that it ain’t for the 1000 (and tips for translation)
If you see any of the following, you can be sure that the listing wasn’t from a 1000. The suggested translations aren’t the last word – see item 6.
1.Multi-statement lines. Cure by writing multiple lines. If there is an IF in the line, all statements after it will be ignored if it is false. Cure by using a succession of IF lines, or by jumping to a subroutine.
2. PAUSE 0. Use PAUSE 4E4. PLOT is another case of identical commands, with different parameters: the 2068’s screen is 254×175, while the 1000’s is 44×64.
3.Lower case. Not infallible – see line 9900 of this month’s “AMORTIZE”. CAPS LOCK on the 2068 can fool you also.
4. Apostrophes. The ‘ is used in the 2068 to drop one line. In last month’s PRINTING CALCULATOR, multiple PRINTs were used. Use PRINT on a seperate line, or “,,”.
5. Funny operators: ↑, READ/DATA, DEF FN, VAL$, STICK, BEEP, DRAW, etc. ↑is **. Sometimes the others can be imitated by subroutines. READ/DATA can be used on the 1000 as I discussed last month. VAL$ can’t, but it is rarely used. STICK can be replaced by INKEY$. BEEP, SOUND, etc. can be ignored. CIRCLE and DRAW can be replaced by subroutines (I’ve got a good machine code DRAW, if anybody wants it).
6. There are probably more, but I can’t think of them right now. If you readers have any further tricks of translation, send them in – they’ll be printed.