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 4
... , IF , ON - GOTO , FOR .. 5.14.3 Exceptions in subscripts and arguments . 46 47 5.14.4 Exceptions in other contexts : PRINT , IF , ON - GOTO , FOR . 47 Section 5.15 Miscellaneous Checks . ... 5.15.1 Missing keyword .. Page 4.
... , IF , ON - GOTO , FOR .. 5.14.3 Exceptions in subscripts and arguments . 46 47 5.14.4 Exceptions in other contexts : PRINT , IF , ON - GOTO , FOR . 47 Section 5.15 Miscellaneous Checks . ... 5.15.1 Missing keyword .. Page 4.
Page 8
... subscripts begin at 0 or 1 with an OPTION statement . The programmer may also establish numeric user - defined functions with the DEF statement , but only as simple expressions , taking one argument . The RANDOMIZE statement works in ...
... subscripts begin at 0 or 1 with an OPTION statement . The programmer may also establish numeric user - defined functions with the DEF statement , but only as simple expressions , taking one argument . The RANDOMIZE statement works in ...
Page 34
... subscript values be rounded to integers ; the program testing this must not cause an exception or the processor fails . 5.8.2 Exceptions The exception tests ensure that the subscript out of range condition is handled properly . Note ...
... subscript values be rounded to integers ; the program testing this must not cause an exception or the processor fails . 5.8.2 Exceptions The exception tests ensure that the subscript out of range condition is handled properly . Note ...
Page 46
... subscripts or as arguments in a function reference . Note that when they are used in the ON ... GOTO , as subscripts , or ... subscript expressions evaluate to the nearest integer . 5.14.2 Expressions In Other Contexts : PRINT , IF , ON ...
... subscripts or as arguments in a function reference . Note that when they are used in the ON ... GOTO , as subscripts , or ... subscript expressions evaluate to the nearest integer . 5.14.2 Expressions In Other Contexts : PRINT , IF , ON ...
Page 47
... Subscripts And Arguments The exceptions specified in section 7 and 8 apply to numeric expressions in whatever context ... subscript . Simply verify that the exception reports are produced as specified in the individual tests . 5.14.4 ...
... Subscripts And Arguments The exceptions specified in section 7 and 8 apply to numeric expressions in whatever context ... subscript . Simply verify that the exception reports are produced as specified in the individual tests . 5.14.4 ...
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