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 27
... items . variables , of course , have to be given a value before they are printed , and this is done with the LET statement . PRINT is among the most semantically complex statements in BASIC . Furthermore , the PRINT statement is the ...
... items . variables , of course , have to be given a value before they are printed , and this is done with the LET statement . PRINT is among the most semantically complex statements in BASIC . Furthermore , the PRINT statement is the ...
Page 28
... 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 in explicit point unscaled format where no loss of accuracy ...
... 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 in explicit point unscaled format where no loss of accuracy ...
Page 37
... item . If you simply mistyped the original input - reply , you should enter the code for a retry . If your original reply was correct , but the processor misinterpreted the numeric value , there is no point to retrying ; just go ahead ...
... item . If you simply mistyped the original input - reply , you should enter the code for a retry . If your original reply was correct , but the processor misinterpreted the numeric value , there is no point to retrying ; just go ahead ...
Page 38
... item will fail and you will have a chance to retry , so make sure that a reported failure really is a processor and not just your own mistyping before bypassing the retry . As with the numeric input , if the processor rejects one of the ...
... item will fail and you will have a chance to retry , so make sure that a reported failure really is a processor and not just your own mistyping before bypassing the retry . As with the numeric input , if the processor rejects one of the ...
Page 46
... items . Check that the actual and correct values are reasonably close . The second section of the program tests that the TAB call is handled correctly . Simply verify that the characters appear in the appropriate columns . The second ...
... items . Check that the actual and correct values are reasonably close . The second section of the program tests that the TAB call is handled correctly . Simply verify that the characters appear in the appropriate columns . The second ...
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