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 11
Page 3
... GOSUB and RETURN ... 5.9.2 ON - GOTO ... Standard Capabilities . Exceptions .. 5.8.3 Errors .... Control Statements 5.10.1 5.10.2 Exceptions .. 5.10.3 Errors .. 5.10 READ , DATA , and RESTORE Standard Capabilities .. 34 34 34 34 35 35 ...
... GOSUB and RETURN ... 5.9.2 ON - GOTO ... Standard Capabilities . Exceptions .. 5.8.3 Errors .... Control Statements 5.10.1 5.10.2 Exceptions .. 5.10.3 Errors .. 5.10 READ , DATA , and RESTORE Standard Capabilities .. 34 34 34 34 35 35 ...
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
... GOSUB , IF ... THEN , variables in FOR - blocks ( e.g. , 12 . non - existent ON ... GOTO 13 . mismatch of control interleaving ) 14. nested FOR - blocks with same variable 15 . jump into FOR - block 16 . 17 . conflict on number of ...
... GOSUB , IF ... THEN , variables in FOR - blocks ( e.g. , 12 . non - existent ON ... GOTO 13 . mismatch of control interleaving ) 14. nested FOR - blocks with same variable 15 . jump into FOR - block 16 . 17 . conflict on number of ...
Page 28
... GOSUB , and IF . Note especially that trailing blanks should be significant in comparing strings , e.g. " ABC " < > " ABC " 1 . Subsequent tests which rely on this property of IF will give false results if the implementation doesn't the ...
... GOSUB , and IF . Note especially that trailing blanks should be significant in comparing strings , e.g. " ABC " < > " ABC " 1 . Subsequent tests which rely on this property of IF will give false results if the implementation doesn't the ...
Other editions - View all
Common terms and phrases
8.4 PROGRAM NUMBER algorithm allows ANSI BASIC ANSI standard argument assignment Backus-Naur Form BASIC Test Programs behavior computer languages correctly decimal digits defined division by zero error programs ERROR REFS error tests Exception Handling exception report exception tests execution FOR-blocks FOR-STATEMENT FORTRAN functional group GOTO handling implementation accepts IMPLEMENTATION CONFORMANCE implementation of BASIC implementation-defined features informative tests input-reply interpretation language standard line number machine infinity measure Minimal BASIC Test non-fatal exceptions non-standard construction non-standard programs Note NUMERIC CONSTANTS NUMERIC EXPRESSIONS ON-GOTO operations OPTION BASE pass/fail message PASSES else processor passing or failing PBASIC processor FAILS processor PASSES program conformance program is standard program output programming language recovery procedure reject REM statement requirements RND FUNCTION rules sample output self-checking semantic meaning significand simple source code specified Standard Capabilities standard program syntax test fails TEST PASSED test sequence test system UNDERFLOW University of Kent USER-DEFINED FUNCTION Version zeros