PROGRAM FILE 44: ELEMENTARY USE OF THE FOR-STATEMENT. SECTION 44.1: ELEMENTARY USE OF THE FOR-STATEMENT. THIS SECTION TESTS A SIMPLE FOR-NEXT CONSTRUCTION WITH BEGIN TEST. LOOP IS: FOR I1= 9.87789E-2 TO 9.87800E-2 STEP 3.00000E-7 10 PRINT "PROGRAM FILE 45: ALTERING THE CONTROL-VARIABLE WITHIN" 20 PRINT " 30 PRINT " 40 PRINT A FOR-BLOCK." ANSI STANDARD 11.2, 11.4" 50 PRINT "SECTION 45.1: ALTERING THE CONTROL-VARIABLE WITHIN" 60 PRINT " 70 PRINT A FOR-BLOCK." 80 PRINT "THIS SECTION TESTS THAT THE VALUE OF THE CONTROL-VARIABLE" 90 PRINT "MAY BE ALTERED BY STATEMENTS WITHIN THE FOR-BLOCK, AS" 100 PRINT "WELL AS UNDER THE DIRECT CONTROL OF THE FOR-STATEMENT." 110 PRINT PROGRAM FILE 45: ALTERING THE CONTROL-VARIABLE WITHIN ANSI STANDARD 11.2, 11.4 SECTION 45.1: ALTERING THE CONTROL-VARIABLE WITHIN A FOR-BLOCK. THIS SECTION TESTS THAT THE VALUE OF THE CONTROL-VARIABLE BEGIN TEST. |