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 71
Page 37
... enter " 1.E22 " you must not reply with , e.g. " 1E22 " . This would defeat one of the purposes of that reply , which is to see whether the processor correctly handles a decimal point immediately before the exponent . Once you have ...
... enter " 1.E22 " you must not reply with , e.g. " 1E22 " . This would defeat one of the purposes of that reply , which is to see whether the processor correctly handles a decimal point immediately before the exponent . Once you have ...
Page 38
... enter any reply whose evaluation is not equal to that of the prompting message to bypass the item and force a failure . The second section of the string input program does not use the substitute characters in the message ; you always ...
... enter any reply whose evaluation is not equal to that of the prompting message to bypass the item and force a failure . The second section of the string input program does not use the substitute characters in the message ; you always ...
Page 39
... 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 - supply entire input - reply . On this second try , simply enter ...
... 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 - supply entire input - reply . On this second try , simply enter ...
Page 41
... enter all zeros ( exactly enough to satisfy original INPUT request ) if processor responds that test passed then test passed else ( no pass message after entering zeros ) zeros not assigned to variables test failed ( recovery procedure ...
... enter all zeros ( exactly enough to satisfy original INPUT request ) if processor responds that test passed then test passed else ( no pass message after entering zeros ) zeros not assigned to variables test failed ( recovery procedure ...
Page 49
... entered the appropriate values , the program will generate pairs of output , with either one or two printed lines for each member of the pair . The first member is produced using primitive capabilities of PRINT and is intended to show ...
... entered the appropriate values , the program will generate pairs of output , with either one or two printed lines for each member of the pair . The first member is produced using primitive capabilities of PRINT and is intended to show ...
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