PROGRAM FILE 162: ERROR - REFERENCE TO FUNCTION PRECEDES                        
        ITS DEFINITION.                                                         
    ANSI STANDARD 16.4                                                          
                                                                                
SECTION 163.1: ERROR - REFERENCE TO FUNCTION PRECEDES                           
        ITS DEFINITION.                                                         
                                                                                
THIS SECTION TESTS WHAT HAPPENS WHEN A USER FUNCTION IS                         
INVOKED IN A LOWER-NUMBERED LINE THAN THE DEF STATEMENT                         
FOR THAT FUNCTION.                                                              
                                                                                
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.                                                        
                                                                                
(LATER) DEFINITION OF FND(R)=R+10                                               
                                                                                
ABOUT TO ATTEMPT INVOCATION OF FND(5).                                          
PROCESSOR HAS EVALUATED FND(5) =  15                                            
                                                                                
              END TEST                                                          
                                                                                
END PROGRAM 162                                                                 
