NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Results 6-10 of 54
Page 36
Note that string overflow may or may not occur , depending on the implementation - defined maximum string length . If overflow ( loss of data ) does occur , the processor must report an exception and execution must terminate .
Note that string overflow may or may not occur , depending on the implementation - defined maximum string length . If overflow ( loss of data ) does occur , the processor must report an exception and execution must terminate .
Page 39
Note that the same situation prevails for overflow - the exception depends on the implementation - defined maximum string length and machine infinity . Thus , " LET A = 1837 * 100 " may cause overflow one standard processor , but not ...
Note that the same situation prevails for overflow - the exception depends on the implementation - defined maximum string length and machine infinity . Thus , " LET A = 1837 * 100 " may cause overflow one standard processor , but not ...
Page 43
The program for overflow of the TAN function deserves some comment . Since it is questionable whether overflow can forced simply by encoding pi / 2 as a numeric constant for the source code argument , the program attempts to generate ...
The program for overflow of the TAN function deserves some comment . Since it is questionable whether overflow can forced simply by encoding pi / 2 as a numeric constant for the source code argument , the program attempts to generate ...
Page 47
These tests simply assure that the correct values are supplied , e.g. , machine infinity for overflow , zero for underflow , and that the execution continues normally as if that value had been put in that context as , say , a numeric ...
These tests simply assure that the correct values are supplied , e.g. , machine infinity for overflow , zero for underflow , and that the execution continues normally as if that value had been put in that context as , say , a numeric ...
Page 48
This program tests the implementation's reaction to a line whose length is greater than the standard limit of 72 . Many implementations accept longer lines ; if so the documentation must specify the limit . 5.15.6 Margin Overflow For ...
This program tests the implementation's reaction to a line whose length is greater than the standard limit of 72 . Many implementations accept longer lines ; if so the documentation must specify the limit . 5.15.6 Margin Overflow For ...
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 ОК ОК ОК