int e l 1.5 WHAT'S THE DIFFERENCE BETWEEN V1.0 AND V1.1 Thanks to feedback from many of the users of MCS BASIC-52, a number of changes and additions have been made to Version 1.1. All of these changes and additions were made to enhance the usefulness of the product and yet retain 100% compatibility, well almost 100% compatibility with the original version. To make things simple, all of the changes will be mentioned here and a reference will be provided as to where the reader of this manual may obtain more information about the change or addition.
The only change that has been made to V1.1 that is not compatible with V1.0 is with the IF_THEN_ELSE STATEMENT when used with multiple statements per line. In V1.0, the following two examples would function in the same manner. EXAMPLE 1: 10 IF A=B THEN C=A : A=A/2 : GOTO 100 20 PRINT A EXAMPLE 2: 10 IF A=B THEN C=A 12 A=A/2 14 GOTO 100 20 PRINT A They function in the same manner because V1.0 treats the delimiter (:) exactly the same as a carriage return (cr) in every case. However, V1.1 executes the remainder of the line if and only if the test A = B proves to be true. This means in EXAMPLE 1 IF A did equal B, V1.1 would then set C=A, then set A = A/2, then execute line 100.
IF A did not equal B, V1.1 would then PRINT A and ignore the statements C=A: A=A/2: GOTO 100. V1.1 will execute EXAMPLE 2 exactly the same way as V1.0. This same logical interpretation holds true for the ELSE statement as well. This example dictates a simple rule for maintaining IF_THEN_ELSE compatibility between the two versions. IF THE DELIMITER (:) IS NOT USED IN AN IF_THEN_ELSE STATEMENT, V1.0 AND V1.1 WILL TREAT THE STATEMENTS IN THE SAME MANNER!! This change was made because most users of MCS BASIC-52 felt that the V1.1 interpretation of this statement was more useful because fewer GOTO statements need be employed in a typical program.
Additionally, V1.1 accepts inputs in either lower or upper case, whereas V1.0 converted lower case to upper case. V1.1 will however, convert keywords from lower case to upper case during the LlSTing of a program. Finally, MCS BASIC-52 V1.1 runs between 2% and 10% faster than V1.0. Typically, this should not cause any problems. As far as the user is concerned, these are the only changes that may affect the operation of a typical program. Now, on to the additions. - 9 -