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 6-10 of 100
Page 27
... variables are tested as print - items . variables , of course , have to be given a value before they are printed , and this is done with the LET statement . PRINT is among the most semantically complex statements in BASIC . Furthermore ...
... variables are tested as print - items . variables , of course , have to be given a value before they are printed , and this is done with the LET statement . PRINT is among the most semantically complex statements in BASIC . Furthermore ...
Page 29
... Variables The first of these programs simply checks that the set of valid names is as guaranteed by the standard . In particular , A , AO , and A $ are all distinct . There are no diagnostics for failure , since we expect failures to be ...
... Variables The first of these programs simply checks that the set of valid names is as guaranteed by the standard . In particular , A , AO , and A $ are all distinct . There are no diagnostics for failure , since we expect failures to be ...
Page 31
... variable , and then generalizing to operations , which may be thought of as functions of two variables . Given an internal precision of at least d decimal digits , we simply require that the computed value for f ( x ) ( hereinafter ...
... variable , and then generalizing to operations , which may be thought of as functions of two variables . Given an internal precision of at least d decimal digits , we simply require that the computed value for f ( x ) ( hereinafter ...
Page 33
... variable , through the use of the FOR statement . The semantic requirements for this construction are particularly well - defined . Specifically , the effect of the FOR is described in terms of more primitive language features ( IF ...
... variable , through the use of the FOR statement . The semantic requirements for this construction are particularly well - defined . Specifically , the effect of the FOR is described in terms of more primitive language features ( IF ...
Page 45
... variable of the same name ; global variables , other than one with the same name as the parameter , are available to the function definition ; a DEF statement in the path of execution has no effect ; invocation of a function as such ...
... variable of the same name ; global variables , other than one with the same name as the parameter , are available to the function definition ; a DEF statement in the path of execution has no effect ; invocation of a function as such ...
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