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