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 65
Page 26
... expected output . The program's own messages describe what is expected . You may also refer to the sample output in Volume 2 to see what the output should look like . 5.2 END And STOP This group tests the means of bringing BASIC ...
... expected output . The program's own messages describe what is expected . You may also refer to the sample output in Volume 2 to see what the output should look like . 5.2 END And STOP This group tests the means of bringing BASIC ...
Page 28
... expected output format depends on the value of the print - item , not its source format . In particular , integer values should print as integers as long as the significand - width can accommodate them , fractional values should print ...
... expected output format depends on the value of the print - item , not its source format . In particular , integer values should print as integers as long as the significand - width can accommodate them , fractional values should print ...
Page 49
... expected output is . Of course the sample is exactly correct only for implementations with the same margin and zone width , but allowing for the possibly different widths of your processor , the sample should give you the idea of what ...
... expected output is . Of course the sample is exactly correct only for implementations with the same margin and zone width , but allowing for the possibly different widths of your processor , the sample should give you the idea of what ...
Page 24
... EXPECTED OUTPUT IS DISPLAYED WITH TRAILING ZEROS " 1003 PRINT " SUPPRESSED . IMPLEMENTATIONS MAY ADD TRAILING ZEROS UP TO " 1004 PRINT " THEIR SIGNIFICAND - WIDTH , D. THUS .12 MAY BE DISPLAYED AS " 1005 PRINT " ' .1200 ' OR ' .1200000 ...
... EXPECTED OUTPUT IS DISPLAYED WITH TRAILING ZEROS " 1003 PRINT " SUPPRESSED . IMPLEMENTATIONS MAY ADD TRAILING ZEROS UP TO " 1004 PRINT " THEIR SIGNIFICAND - WIDTH , D. THUS .12 MAY BE DISPLAYED AS " 1005 PRINT " ' .1200 ' OR ' .1200000 ...
Page 28
... EXPECTED OUTPUT IS DISPLAYED WITH TRAILING ZEROS SUPPRESSED . IMPLEMENTATIONS MAY ADD TRAILING ZEROS UP TO THEIR SIGNIFICAND - WIDTH , D. THUS .12 MAY BE DISPLAYED AS ' .1200 ' OR ' .1200000 ' IF , FOR INSTANCE , D = 7 . BEGIN TEST ...
... EXPECTED OUTPUT IS DISPLAYED WITH TRAILING ZEROS SUPPRESSED . IMPLEMENTATIONS MAY ADD TRAILING ZEROS UP TO THEIR SIGNIFICAND - WIDTH , D. THUS .12 MAY BE DISPLAYED AS ' .1200 ' OR ' .1200000 ' IF , FOR INSTANCE , D = 7 . BEGIN TEST ...
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