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
Page 3
... . Control Statements .. GOSUB and RETURN .. 5.9.2 ON - GOTO .... 5.10 READ , DATA , and RESTORE .. Standard Capabilities . 35 35 36 36 36 36 36 Section Page 5.11 5.11.1 INPUT . 5.11.2 Standard Capabilities Exceptions Page 3 Section.
... . Control Statements .. GOSUB and RETURN .. 5.9.2 ON - GOTO .... 5.10 READ , DATA , and RESTORE .. Standard Capabilities . 35 35 36 36 36 36 36 Section Page 5.11 5.11.1 INPUT . 5.11.2 Standard Capabilities Exceptions Page 3 Section.
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 20
... to numeric - supplied - function with incorrect number of arguments 10 . no spaces around keywords 11. spaces within keywords and other elements or before line number line number for GOTO , GOSUB , IF ... THEN Page 20.
... to numeric - supplied - function with incorrect number of arguments 10 . no spaces around keywords 11. spaces within keywords and other elements or before line number line number for GOTO , GOSUB , IF ... THEN Page 20.
Page 21
Version 2, User's Manual John V. Cugini. line number for GOTO , GOSUB , IF ... THEN , 12 . non - existent ON ... GOTO 13 . mismatch of control variables in interleaving ) FOR - blocks ( e.g. , 14. nested FOR - blocks with same variable ...
Version 2, User's Manual John V. Cugini. line number for GOTO , GOSUB , IF ... THEN , 12 . non - existent ON ... GOTO 13 . mismatch of control variables in interleaving ) FOR - blocks ( e.g. , 14. nested FOR - blocks with same variable ...
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 ...
Other editions - View all
Common terms and phrases
20 PRINT 40 PRINT SECTION ACCEPT THE PROGRAM ACCOMPANIED BY DOCUMENTATION ACCURACY ACTUAL ALLOWING ANSI STANDARD ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END 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 BEGIN TEST PRINT END PROGRAM PRINT END TEST PRINT PROGRAM FILE PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM NUMBER PROGRAM TESTS PROGRAMS USER'S MANUAL READ REFERENCE REFS REJECT THE PROGRAM REPORTED RESULT RETURN RND FUNCTION SECTION TESTS SPACE STATEMENT STEP STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSED TYPE UNDERFLOW VALUE VARIABLE ZERO