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 11-15 of 55
Page 20
... order line number of zero line - length > 72 characters use of an undefined user function use of a function before its definition recursive function definition 7. duplicate function definition 8 . 9 . 10 . number of arguments in ...
... order line number of zero line - length > 72 characters use of an undefined user function use of a function before its definition recursive function definition 7. duplicate function definition 8 . 9 . 10 . number of arguments in ...
Page 28
... order . There are two rules to keep mind . First , the 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 ...
... order . There are two rules to keep mind . First , the 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 ...
Page 29
... order to conform . 5.6 Numeric Constants , Variables , And Operations 5.6.1 Standard Capabilities the use of numeric arithmetic The most This group of programs introduces expressions , specifically those formed with the operations ( + ...
... order to conform . 5.6 Numeric Constants , Variables , And Operations 5.6.1 Standard Capabilities the use of numeric arithmetic The most This group of programs introduces expressions , specifically those formed with the operations ( + ...
Page 30
... order , using the IF statement . The rationale for the accuracy test is best explained with an example : suppose we write the constant " 333.333 " somewhere in the program . For six digits of accuracy to be maintained , it must evaluate ...
... order , using the IF statement . The rationale for the accuracy test is best explained with an example : suppose we write the constant " 333.333 " somewhere in the program . For six digits of accuracy to be maintained , it must evaluate ...
Page 35
... binomial coefficients , using the usual recursive formula . The logic of the program is a bit convoluted , but intentionally so , in order to exercise the stacking mechanism vigorously . 5.9.2 ON - GOTO The ON - GOTO tests are Page 35.
... binomial coefficients , using the usual recursive formula . The logic of the program is a bit convoluted , but intentionally so , in order to exercise the stacking mechanism vigorously . 5.9.2 ON - GOTO The ON - GOTO tests are Page 35.
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