NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Page 26
The program's own messages describe what is expected . You may also refer to the sample output in Volume 2 to see what the output should look like . 5.2 END And STOP This group tests the means of bringing BASIC programs to normal ...
The program's own messages describe what is expected . You may also refer to the sample output in Volume 2 to see what the output should look like . 5.2 END And STOP This group tests the means of bringing BASIC programs to normal ...
Page 28
First , the expected output format depends on the value of the print - item , not its source format . In particular , integer values should print as integers as long as the significand - width can accommodate them , fractional values ...
First , the expected output format depends on the value of the print - item , not its source format . In particular , integer values should print as integers as long as the significand - width can accommodate them , fractional values ...
Page 49
You should , therefore , closely examine the sample output for this test in Volume 2 to understand what the expected output is . Of course the sample is exactly correct only for implementations with the same margin and zone width ...
You should , therefore , closely examine the sample output for this test in Volume 2 to understand what the expected output is . Of course the sample is exactly correct only for implementations with the same margin and zone width ...
Page 24
970 PRINT 980 PRINT " COLUMNS 1 AND 3 SHOW THE OUTPUT AS IT SHOULD BE . " 995 PRINT " COLUMNS 2 AND 4 SHOW THE ACTUAL OUTPUT . " 1001 PRINT 1002 PRINT " EXPECTED OUTPUT IS DISPLAYED WITH TRAILING ZEROS " 1003 PRINT ...
970 PRINT 980 PRINT " COLUMNS 1 AND 3 SHOW THE OUTPUT AS IT SHOULD BE . " 995 PRINT " COLUMNS 2 AND 4 SHOW THE ACTUAL OUTPUT . " 1001 PRINT 1002 PRINT " EXPECTED OUTPUT IS DISPLAYED WITH TRAILING ZEROS " 1003 PRINT ...
Page 28
EXPECTED OUTPUT IS DISPLAYED WITH TRAILING ZEROS SUPPRESSED . IMPLEMENTATIONS MAY ADD TRAILING ZEROS UP TO THEIR SIGNIFICAND - WIDTH , D. THUS .12 MAY BE DISPLAYED AS ' .1200 ' OR ' .1200000 ' IF , FOR INSTANCE , D = 7 . BEGIN TEST .
EXPECTED OUTPUT IS DISPLAYED WITH TRAILING ZEROS SUPPRESSED . IMPLEMENTATIONS MAY ADD TRAILING ZEROS UP TO THEIR SIGNIFICAND - WIDTH , D. THUS .12 MAY BE DISPLAYED AS ' .1200 ' OR ' .1200000 ' IF , FOR INSTANCE , D = 7 . BEGIN TEST .
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 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