The Broken BASIC Years

Posted by scruss@reddit | vintagecomputing | View on Reddit | 36 comments

You'd be surprised that this little program produces different results on different BASIC systems:

10 FOR X=3 TO 2 STEP 1
20 PRINT X
30 NEXT X
40 PRINT X

Up until 1975 or so, all BASIC systems produced the same result. But from about 1975–1981, many small systems produced a different result. Then, around 1981, Microsoft changed how FOR loops worked to comply with an ANSI standard. More used to setting de facto standards, Microsoft had a particularly good reason for meeting this de jure one …

I tested 39 different BASIC systems across 14 different processor types and wrote it all up here: The Broken BASIC Years.