intel MCS BASIC-52 — Intel MCS BASIC-52 Versions 1 & 1.1 Operating and Reference Manual PDF

int e l 4.11 DESCRIPTION OF STATEMENTS In Version 1.1 of MCS BASIC-52 it is possible execute the FOR-TO-{STEP}-NEXT statement in the Command Mode. This makes it possible for the user to do things like display regions of memory by writing a short program like FOR I=512 TO 560: PH0. XBY(I),: NEXT I. It may also have other uses, but they haven't been thought of. Also Version 1.1 allows the NEXT statement to be used without a variable following the statement. This means that programs like: EXAMPLE: 10 FOR I = 1 TO 100 20 PRINT I 30 NEXT Are permitted in Version 1.1 of MCS BASIC-52. The variable associated with the NEXT is always assumed to be the variable used in the last FOR statement. - 40 -