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 behavior of the implementation if it accepts the programs . 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 A ( 0 ) have been specified , to see when an ...
... actual behavior of the implementation if it accepts the programs . 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 A ( 0 ) have been specified , to see when an ...
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
15 PRINT 20 PRINT 40 PRINT SECTION ACCEPT THE PROGRAM ACCOMPANIED BY DOCUMENTATION ACCURATELY DESCRIBING ANSI STANDARD 7.2 APPROPRIATE ERROR MESSAGE ARGUMENT ASSIGNED BASIC TEST PROGRAMS COMPUTED DATA DESCRIBING THE FEATURE'S DETAILED CRITERIA DIM-STATEMENT DISPLAYED DIVISION BY ZERO END END TEST END PROGRAM FILE EXRAD FEATURE OF MINIMAL FEATURE'S INTERPRETATION FOR-STATEMENT GOSUB GOTO IDENTIFYING THE EXCEPTION implementation INFORMATIVE TEST PASSED INPUT INPUT-REPLY LINE NUMBER LINE-NUMBERS MACHINE INFINITY MESSAGE IDENTIFYING MINIMAL BASIC TEST NBS MINIMAL BASIC NON-STANDARD FEATURE NUMERIC EXPRESSIONS OK OK OK ON-GOTO OPTION BASE PASS THIS TEST PRINT 40 PRINT PRINT BEGIN TEST PRINT END PROGRAM PRINT END TEST PRINT FOR DETAILED PRINT PROGRAM FILE PRINT THIS PROGRAM PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM TESTS PROGRAMS USER'S MANUAL QUOTED STRINGS READ REFS REJECT THE PROGRAM REM SUBROUTINE RND FUNCTION SECTION TESTS SIGNIFICAND STATEMENT TEST IS INFORMATIVE TEST OK TEST PROGRAMS USER'S UNDERFLOW USER-DEFINED FUNCTION