NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Results 1-5 of 100
Page 35
... binomial coefficients , using the usual recursive formula . The logic of the program is a bit convoluted , but intentionally so , order to exercise the stacking mechanism vigorously . in 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 , order to exercise the stacking mechanism vigorously . in 5.9.2 ON - GOTO The ON - GOTO tests are Page 35.
Page 36
5.9.2 ON - GOTO The ON - 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 .
5.9.2 ON - GOTO The ON - 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 .
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 in the ON ... GOTO , as subscripts , or as arguments to expressions must ...
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 in the ON ... GOTO , as subscripts , or as arguments to expressions must ...
Page 47
IF , The second program is self - checking and tests ON - 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 ...
IF , The second program is self - checking and tests ON - 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 ...
Page 53
164-184 ( 6,7,8,10 , 11 , 12 , 16 ) 14.1 Standard Capabilities in context of LET - statement 164 ( 6,7,8 , 16 ) 14.2 Expressions in other contexts : PRINT , IF , ON - GOTO , FOR 165-166 ( 7 , 10 , 11 , 12 ) 14.3 Exceptions in subscripts ...
164-184 ( 6,7,8,10 , 11 , 12 , 16 ) 14.1 Standard Capabilities in context of LET - statement 164 ( 6,7,8 , 16 ) 14.2 Expressions in other contexts : PRINT , IF , ON - GOTO , FOR 165-166 ( 7 , 10 , 11 , 12 ) 14.3 Exceptions in subscripts ...
What people are saying - Write a review
We haven't found any reviews in the usual places.
Other editions - View all
Common terms and phrases
20 PRINT 40 PRINT SECTION ACCEPT THE PROGRAM ACCOMPANIED BY DOCUMENTATION ACCURACY ACTUAL ALLOWING ANSI STANDARD APPROPRIATE ERROR MESSAGE ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS BEGIN TEST CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END PROGRAM FILE 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 END PROGRAM PRINT PROGRAM FILE PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM NUMBER PROGRAM TESTS READ REFERENCE REFS REJECT THE PROGRAM REPORTED RESULT RETURN RND FUNCTION SECTION TESTS SPACE STATEMENT STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSED TYPE UNDERFLOW VALUE VARIABLE ZERO ОК ОК ОК