PROGRAM FILE 54: ERROR - NESTED FOR-BLOCKS                                      
        WITH THE SAME CONTROL VARIABLE.                                         
    ANSI STANDARD 11.4                                                          
                                                                                
SECTION 54.1: ERROR - NESTED FOR-BLOCKS WITH                                    
        THE SAME CONTROL VARIABLE.                                              
                                                                                
THIS IS A TEST FOR A NON-STANDARD FEATURE OF MINIMAL BASIC.                     
TO PASS THIS TEST, THE PROCESSOR MUST EITHER:                                   
                                                                                
   1) ACCEPT THE PROGRAM AND BE ACCOMPANIED BY DOCUMENTATION                    
      ACCURATELY DESCRIBING THE FEATURE'S INTERPRETATION                        
      BY THE PROCESSOR, OR                                                      
                                                                                
   2) REJECT THE PROGRAM WITH AN APPROPRIATE ERROR MESSAGE                      
                                                                                
SEE THE NBS MINIMAL BASIC TEST PROGRAMS USER'S MANUAL                           
FOR DETAILED CRITERIA.                                                          
                                                                                
                               BEGIN TEST.                                      
                                                                                
ENTERING FOR-BLOCKS; LOOPS ARE:                                                 
FOR I=1 TO 3 / FOR J=2 TO 4 / FOR I=3 TO 5 / NEXT I / NEXT J / NEXT I           
                                                                                
I =  3       J =  2                                                             
I =  4       J =  2                                                             
I =  5       J =  2                                                             
I =  3       J =  3                                                             
I =  4       J =  3                                                             
I =  5       J =  3                                                             
I =  3       J =  4                                                             
I =  4       J =  4                                                             
I =  5       J =  4                                                             
                                                                                
                                END TEST.                                       
END PROGRAM 54                                                                  
