NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13U.S. Department of Commerce, National Bureau of Standards, 1980 |
From inside the book
Results 1-5 of 100
Page 22
... actual processor behavior is , so that it may be checked against the documentation . For example , the program that tests whether the implementation accepts " < " and " > " for comparison of strings also displays the implicit character ...
... actual processor behavior is , so that it may be checked against the documentation . For example , the program that tests whether the implementation accepts " < " and " > " for comparison of strings also displays the implicit character ...
Page 34
... actual implementation if it accepts the programs . The first of # 73 , lets you try to reference an array with a subscript 1 when OPTION BASE 1 and DIM A ( 0 ) have been specified , to see when an exception occurs . The second , # 81 ...
... actual implementation if it accepts the programs . The first of # 73 , lets you try to reference an array with a subscript 1 when OPTION BASE 1 and DIM A ( 0 ) have been specified , to see when an exception occurs . The second , # 81 ...
Page 40
... actual result , then that case passes ; otherwise it is a failure . Suppose the implementation reports an exception , but does not allow you to re - supply the entire input - reply . At that point , just do whatever the processor ...
... actual result , then that case passes ; otherwise it is a failure . Suppose the implementation reports an exception , but does not allow you to re - supply the entire input - reply . At that point , just do whatever the processor ...
Page 46
... actual computed value . This test also verifies that subscript expressions evaluate to the nearest integer . 5.14.2 Expressions In Other Contexts : PRINT , IF , ON - GOTO , FOR Please note that the PRINT test , like other PRINT tests ...
... actual computed value . This test also verifies that subscript expressions evaluate to the nearest integer . 5.14.2 Expressions In Other Contexts : PRINT , IF , ON - GOTO , FOR Please note that the PRINT test , like other PRINT tests ...
Page 22
... ACTUAL OUTPUT . " 120 PRINT 130 PRINT 140 PRINT BEGIN TEST . " 150 PRINT ... ACTUAL " , " SHOULD BE " , " ACTUAL " 200 PRINT " 0 " , + 0 , " 0 " , - 0 210 PRINT " 1 " , + 1 , " - 1 " , - 1 220 PRINT " 12 " , 12 , " - 12 " , - 12 230 ...
... ACTUAL OUTPUT . " 120 PRINT 130 PRINT 140 PRINT BEGIN TEST . " 150 PRINT ... ACTUAL " , " SHOULD BE " , " ACTUAL " 200 PRINT " 0 " , + 0 , " 0 " , - 0 210 PRINT " 1 " , + 1 , " - 1 " , - 1 220 PRINT " 12 " , 12 , " - 12 " , - 12 230 ...
Other editions - View all
Common terms and phrases
20 PRINT 40 PRINT SECTION ACCEPT THE PROGRAM ACCOMPANIED BY DOCUMENTATION ACCURACY ACTUAL ALLOWING ANSI STANDARD ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END 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 BEGIN TEST PRINT END PROGRAM PRINT END TEST PRINT PROGRAM FILE PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM NUMBER PROGRAM TESTS PROGRAMS USER'S MANUAL READ REFERENCE REFS REJECT THE PROGRAM REPORTED RESULT RETURN RND FUNCTION SECTION TESTS SPACE STATEMENT STEP STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSED TYPE UNDERFLOW VALUE VARIABLE ZERO