NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Results 1-5 of 100
Page 12
... standard syntactic rules , or 2 ) the executing program might attempt some operation for which there is no reasonable semantic interpretation , e.8 . , division by zero , assignment to a subscripted variable outside of the array .
... standard syntactic rules , or 2 ) the executing program might attempt some operation for which there is no reasonable semantic interpretation , e.8 . , division by zero , assignment to a subscripted variable outside of the array .
Page 19
For instance , the semantic meaning of division by zero is to report the exception , supply machine infinity , and continue . The standard , however , allows implementations to terminate execution after even a non - fatal exception " if ...
For instance , the semantic meaning of division by zero is to report the exception , supply machine infinity , and continue . The standard , however , allows implementations to terminate execution after even a non - fatal exception " if ...
Page 20
Context - sensitive errors : 1 . line number out of strictly ascending order 2 . line number of zero . 3 . line - length > 72 characters A. use of an undefined user function 5 . use of a function before its definition 6 • recursive ...
Context - sensitive errors : 1 . line number out of strictly ascending order 2 . line number of zero . 3 . line - length > 72 characters A. use of an undefined user function 5 . use of a function before its definition 6 • recursive ...
Page 28
For example " PRINT 2.1E2 " should produce " 210 " because the item has an integer value , even though it is written in source code in explicit point scaled format . Second , leading zeros in the exrad and trailing zeros in the ...
For example " PRINT 2.1E2 " should produce " 210 " because the item has an integer value , even though it is written in source code in explicit point scaled format . Second , leading zeros in the exrad and trailing zeros in the ...
Page 31
as Underflow , whether for expressions or constants , is only recommended an exception , but , in any case , zero must be supplied when the magnitude of the result is below the minimum representable by the implementation .
as Underflow , whether for expressions or constants , is only recommended an exception , but , in any case , zero must be supplied when the magnitude of the result is below the minimum representable by the implementation .
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 ОК ОК ОК