Cross-reference between ANSI Standard and Test Programs (cont.) Section 7: Expressions 7.2: Syntax 24 25 26 36 37 38 7.4: Semantics 39 40 41 42 43 61 143 144 145 24 25 26 33 35 39 40 7.5: Exceptions 28 29 31 32 35 167 168 170 173 174 176 177 180 182 183 7.6: Remarks 39 40 41 42 43 117 119 120 121 124 127 128 169 175 178 Section 8: Implementation-Supplied Functions 8.2: Syntax 130 131 143 144 145 146 147 148 149 150 164 8.4: Semantics 114 115 116 117 119 120 121 123 124 127 128 130 131 132 133 Cross-reference between ANSI Standard and Test Programs (cont.) Section 10: Control Statements 10.2: Syntax 5 15 17 18 19 20 46 88 166 176 177 178 179 180 181 10.4: Semantics 5 15 16 17 18 19 21 27 46 85 87 88 91 166 Section 11: For-Statements and Next-Statements 1 6 165 172 173 174 175 192 193 203 204 12.4: Semantics 1 6 7 9 10 11 12 13 14 165 192 193 203 12.5: Exceptions 8 Section 13: The Input-Statement 13.2: Syntax 107 108 109 110 113 13.4: Semantics 107 108 109 110 111 112 13.5: Exceptions 112 Section 14: The Data-, Read-, and Restore-Statements 14.2: Syntax 92 93 94 95 102 103 14.4: Semantics 92 93 94 95 96 14.5: Exceptions 97 98 99 100 101 Cross-reference between ANSI Standard and Test Programs (cont.) 151 153 154 155 156 157 158 159 160 161 162 163 164 167 Section 17: The Randomize Statement 17.2: Syntax 131 17.4: Semantics 131 Section 18: The Remark-Statement 18.2: Syntax 15 18.4: Semantics 15 Appendix A Differences between Versions 1 and 2 of of Version 2, In the development we introduced a wide variety of changes in the test system. Some were substantive, some stylistic. Below is a list of the more significant differences. 1. Perhaps the most extensive change has to do with the more complete treatment of the errors and exceptions which must be detected and reported by a conforming processor. We've tried to make clear the distinction between the two and just what conformance entails in each case. Also, Version 2 tests a wider variety of anomalous conditions for the processor to handle. It is in this area of helpful recovery from programmer mistakes that the Minimal BASIC standard imposes stricter requirements than other language standards and the tests reflect this emphasis. 2. Version 2 differs significantly from Version 1 in its 3. There are a number of new informative tests for the RND function. These are to help users whose applications are strongly dependent on a nearly patternless RND sequence. 4. 5. The overall structure of the test system structure. We tried to be especially careful to keep the printed output of the various tests as consistent as their subject matter would allow. In particular, we always made sure that the programs stated as explicitly as possible what was necessary for the test to pass or fail and that this message was surrounded by triple asterisks. References 1. American National Standard for Minimal 2. 3. 4. BASIC, X3.60-1978, New York New York, J. A. Lee, A Candidate Standard for Fundamental BASIC, T. R. Hopkins, PBASIC - A Verifier for BASIC, Software 2, D. E. Knuth, The Art of Computer Programming, Vol. Publishing (1969) |