Post Reply 
Sharp PC-1211/TRS-80 PC-1 program tapes from Radio Shack
08-12-2021, 12:53 PM
Post: #26
RE: Sharp PC-1211/TRS-80 PC-1 program tapes from Radio Shack
(08-12-2021 12:10 PM)Bill (Smithville NJ) Wrote:  In the Surveying Package, I think there's errors in the original code for the CLOSE and TAPE programs.

For example, Lines 79 and 80 from the CLOSE program reads:

79 IF M>=360M=M-360
80 IF M<0M=M+360


I think a "LET" is needed as follows:

79 IF M>=360 LET M=M-360
80 IF M<0 LET M=M+360

I'm testing on a PC-1251 emulator. So I'm not sure if the LET is required on a PC-1211 which the program was written for. Could someone test on an actual PC-1211 pr PC-1.

The TAPE program also as several statements that would also require the addition of a LET.

73
Bill WD9EQD
Smithville, NJ

I am not familiar with this specific flavor, but in many flavors of BASIC, LET can be implicit, so the two versions of the lines are functionally equivalent, with the original ones possibly being a bit smaller (in bytes). It's easy to try, give it a shot.

--Bob Prosperi
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 - rprosperi - 08-12-2021 12:53 PM



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