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 100
Page 35
... 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.
... 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.
Page 36
... GOTO tests are all readily understandable . The one thing you might want to watch for is that the processor rounds the expression controlling the ON - GOTO to the nearest integer , as specified in the standard . Thus , " ON .6 GOTO ...
... GOTO tests are all readily understandable . The one thing you might want to watch for is that the processor rounds the expression controlling the ON - GOTO to the nearest integer , as specified in the standard . Thus , " ON .6 GOTO ...
Page 46
... GOTO , and FOR statements , can contain expressions . Also they may be used as array subscripts or as arguments in a function reference . Note that when they are used in the ON ... GOTO , as subscripts , or as arguments to ТАВ ...
... GOTO , and FOR statements , can contain expressions . Also they may be used as array subscripts or as arguments in a function reference . Note that when they are used in the ON ... GOTO , as subscripts , or as arguments to ТАВ ...
Page 47
... GOTO and FOR , one in each section . As with other tests of control statements , the diagnostics are rather sparse for failures . Check Volume 2 for an example of correct output . 5.14.3 Exceptions In Subscripts And Arguments The ...
... GOTO and FOR , one in each section . As with other tests of control statements , the diagnostics are rather sparse for failures . Check Volume 2 for an example of correct output . 5.14.3 Exceptions In Subscripts And Arguments The ...
Page 53
... GOTO , FOR 165-166 ( 7,10,11,12 ) 14.3 Exceptions in subscripts and arguments 167-171 ( 6,7,8,16 ) 14.4 Exceptions in other contexts : PRINT , IF , ON - GOTO , FOR 172-184 ( 7 , 10 , 11 , 12 ) 15 Miscellaneous Checks 185-208 ( 3,4,9,10 ...
... GOTO , FOR 165-166 ( 7,10,11,12 ) 14.3 Exceptions in subscripts and arguments 167-171 ( 6,7,8,16 ) 14.4 Exceptions in other contexts : PRINT , IF , ON - GOTO , FOR 172-184 ( 7 , 10 , 11 , 12 ) 15 Miscellaneous Checks 185-208 ( 3,4,9,10 ...
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