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 81
Page 3
... GOSUB and RETURN .. 35 5.9.1 5.9.2 ON - GOTO .. 5.10 READ , DATA , and RESTORE . · 35 36 36 5.10.1 Standard Capabilities . 36 5.10.2 Exceptions .. · 36 5.10.3 Errors . 36 Section Page 5.11 5.11.1 INPUT . 5.11.2 Standard Capabilities ...
... GOSUB and RETURN .. 35 5.9.1 5.9.2 ON - GOTO .. 5.10 READ , DATA , and RESTORE . · 35 36 36 5.10.1 Standard Capabilities . 36 5.10.2 Exceptions .. · 36 5.10.3 Errors . 36 Section Page 5.11 5.11.1 INPUT . 5.11.2 Standard Capabilities ...
Page 8
... GOSUB and RETURN for internal subroutines , a FOR and NEXT statement to execute loops while incrementing a control - variable , and a STOP statement . Input and output are accomplished with the INPUT and PRINT statements , both of which ...
... GOSUB and RETURN for internal subroutines , a FOR and NEXT statement to execute loops while incrementing a control - variable , and a STOP statement . Input and output are accomplished with the INPUT and PRINT statements , both of which ...
Page 21
... GOSUB , IF ... THEN , ON ... GOTO 13 . mismatch of control variables in FOR - blocks ( e.g. , interleaving ) 14 . nested FOR - blocks with same variable 15 . jump into FOR - block 16 . conflict on number of dimensions among references ...
... GOSUB , IF ... THEN , ON ... GOTO 13 . mismatch of control variables in FOR - blocks ( e.g. , interleaving ) 14 . nested FOR - blocks with same variable 15 . jump into FOR - block 16 . conflict on number of dimensions among references ...
Page 28
... GOSUB , and IF . Note especially that trailing blanks should be significant in comparing strings , e.g. " ABC " < > " ABC Subsequent tests which rely on this property of IF will give false results if the implementation doesn't ...
... GOSUB , and IF . Note especially that trailing blanks should be significant in comparing strings , e.g. " ABC " < > " ABC Subsequent tests which rely on this property of IF will give false results if the implementation doesn't ...
Page 29
... GOSUB exercise a variety of transfers make sure the processor handles control correctly . If everything works , you should get intelligible , self - consistent output . If the output looks scrambled , the test has failed . There are no ...
... GOSUB exercise a variety of transfers make sure the processor handles control correctly . If everything works , you should get intelligible , self - consistent output . If the output looks scrambled , the test has failed . There are no ...
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