NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Results 6-10 of 55
Page 34
The first of these , # 73 , lets you try to reference an array with a subscript of 0 or 1 when OPTION BASE 1 and DIM ( 0 ) have been specified , to see when an exception occurs . 1 for The second , # 81 , allows you to try a subscript ...
The first of these , # 73 , lets you try to reference an array with a subscript of 0 or 1 when OPTION BASE 1 and DIM ( 0 ) have been specified , to see when an exception occurs . 1 for The second , # 81 , allows you to try a subscript ...
Page 35
Since the only semantic effect of DIM is to cause or prevent an exception for a given array reference , however , it is necessary to run the program three times to see when exceptions occur and when they don't , assuming the processor ...
Since the only semantic effect of DIM is to cause or prevent an exception for a given array reference , however , it is necessary to run the program three times to see when exceptions occur and when they don't , assuming the processor ...
Page 36
Note that string overflow may or may not occur , depending on the implementation - defined maximum string length . If overflow ( loss of data ) does occur , the processor must report an exception and execution must terminate .
Note that string overflow may or may not occur , depending on the implementation - defined maximum string length . If overflow ( loss of data ) does occur , the processor must report an exception and execution must terminate .
Page 39
... to help you understand why the exception should occur . Enter the exception - provoking reply , exactly as requested by the message . If all goes well , the implementation will give you an exception report and allow you to re ...
... to help you understand why the exception should occur . Enter the exception - provoking reply , exactly as requested by the message . If all goes well , the implementation will give you an exception report and allow you to re ...
Page 43
For instance , if several of the function calls return machine infinity , it is clear that overflow has occurred and if ... the returned values with a given sign should increase in magnitude until overflow occurs , i.e. all the positive ...
For instance , if several of the function calls return machine infinity , it is clear that overflow has occurred and if ... the returned values with a given sign should increase in magnitude until overflow occurs , i.e. all the positive ...
What people are saying - Write a review
We haven't found any reviews in the usual places.
Other editions - View all
Common terms and phrases
20 PRINT 40 PRINT SECTION ACCEPT THE PROGRAM ACCOMPANIED BY DOCUMENTATION ACCURACY ACTUAL ALLOWING ANSI STANDARD APPROPRIATE ERROR MESSAGE ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS BEGIN TEST CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END PROGRAM FILE END TEST ENTER ERROR EVALUATION EXACT EXECUTION EXPECTED FOLLOWING FUNCTION GOSUB GOTO IDENTIFYING THE EXCEPTION implementation INFORMATIVE TEST INPUT INPUT-REPLY ITEM LINE LOOP MEASURE MESSAGE IDENTIFYING MINIMAL BASIC TEST NBS MINIMAL BASIC NEGATIVE NON-STANDARD FEATURE NOTE NUMERIC EXPRESSIONS OCCUR OK OK OK operations ORDER OUTPUT OVERFLOW PASS THIS TEST POSITIVE PRINT 40 PRINT PRINT END PROGRAM PRINT PROGRAM FILE PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM NUMBER PROGRAM TESTS READ REFERENCE REFS REJECT THE PROGRAM REPORTED RESULT RETURN RND FUNCTION SECTION TESTS SPACE STATEMENT STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSED TYPE UNDERFLOW VALUE VARIABLE ZERO ОК ОК ОК