Post Reply 
Sharp PC-1211/TRS-80 PC-1 program tapes from Radio Shack
08-09-2021, 08:53 PM
Post: #20
RE: Sharp PC-1211/TRS-80 PC-1 program tapes from Radio Shack
Hi Valentin,

Quote:This document might be useful.

A major problem is that the BASIC version of the SHARP PC-1211 only admits one array variable, single-dimension A(), which doesn't require dimensioning, and further its first 26 elements are overlapped with scalar variables A to Z, so that A(1) is the same as A and A(26) is the same as Z, and the same goes for the string versions, A$(), A$, Z$, which also overlap the numeric variables.

Thanks for the document. Lots of useful information.

You're right about the PC-1211 arrays. I'll have to watch for that.

Quote:As you can see, this is vastly different from what the PC-1211 allows, so converting a PC-1211 program to run on a PC-1350, say, can be cumbersome and error prone if dealing with arrays, but likely possible. The reverse conversion from PC-1350 to PC-1211 might be extremely difficult, if not outright impossible.

Fortunately, all the programs that Dave was nice enough to scan in were for the PC-1211/125x series. At present I am only trying to create basic files that could be run on the 1211/125x/126x and 1350/1360. All of these PC's allow for Variables in the form of A( ). It would be much more difficult to convert the programs to PC-1500/PC-1600 and many of the other PC's if the program made a lot of use of the single array.

But I plan to keep an eye out for complications that may occur with the single arrays.

Thanks for the PDF and comments. I knew if anyone knew of other problems I might have, it would be you.

73
Bill WD9EQD
Smithville, NJ
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Sharp PC-1211/TRS-80 PC-1 program tapes from Radio Shack - Bill (Smithville NJ) - 08-09-2021 08:53 PM



User(s) browsing this thread: 4 Guest(s)