Sharp PC1211/TRS80 PC1 program tapes from Radio Shack

08122021, 01:18 PM
Post: #27




RE: Sharp PC1211/TRS80 PC1 program tapes from Radio Shack
Hi Bob,
Quote: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. When I try it with and without the LET, I get two different answers on the PC1251 emulator. For example: 10 M=400 79 IF M>=360M=M360 100 Print M This prints 400. But if I add the LET: 10 M=400 79 IF M>=360 LET M=M360 100 Print M This prints 40. ( This is the correct answer) I think the first version has problems with the implicit multiplication of 360M. 73 Bill WD9EQD Smithville, NJ 

« Next Oldest  Next Newest »

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