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
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
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