33435Re: [midatlanticretro] Altair BASIC and hitting my head with my shoe repeatedly
- Dec 11, 2013_ ____
/ \__/ Scotty, We Need More Power !!
\_/ _\__ Aye, Cap'n, but we've only got 80 col's !On Wed, Dec 11, 2013 at 6:16 AM, Dan Roganti <ragooman@...> wrote:On Tue, Dec 10, 2013 at 11:00 PM, B. Degnan <billdeg@...> wrote:
Working on BASIC class.
"Trivia question" - can anyone tell me why the following code works in
MBASIC4 but not Altair BASIC?
leaving out spaces (10 FORK=1TO1000) has no effect.
using a different variable name (FORG=1to1000), no effect.
HIGHEST DISK NUMBER? 0
HOW MANY FILES? 1
HOW MANY RANDOM FILES? 1
43129 BYTES FREE
ALTAIR BASIC REV. 4.0
[DISK EXTENDED VERSION]
COPYRIGHT 1976 BY MITS INC.
10 FOR K=1 TO 1000
20 PRINT K;
30 NEXT K
SYNTAX ERROR IN 10
OKThis works fine on 8K Basic, at least on the Emulator. But I noticed your using Disk Extended Basic and this is one manual I don't seem to have in pdf - is it available ?Perhaps the "STEP" is required in that version=Danstill couldn't find a pdf on the Disk Extended Basic version, butI found another example program using this versionSince that code works already in the 8K Basic version I tried, there must be some additional syntax involved.In this exmaple, they use spaces between everything, so10 FOR K = 1 TO 1000=Dan
- << Previous post in topic Next post in topic >>