PROGRAM FILE 165: COMPOUND EXPRESSIONS AND PRINT.                               
    ANSI STANDARD 7.2, 7.4, 12.2, 12.4                                          
                                                                                
THIS PROGRAM TESTS THE USE OF NUMERIC EXPRESSIONS IN THE                        
CONTEXT OF THE PRINT STATEMENT.                                                 
                                                                                
SECTION 165.1: NUMERIC EXPRESSIONS AS PRINT ITEMS.                              
                                                                                
                               BEGIN TEST.                                      
                                                                                
EXPECTED       CALCULATED                                                       
 VALUES          VALUES                                                         
                                                                                
-.25           -.25                                                             
 6.5            6.5                                                             
 16.4794        16.4794                                                         
 1.54193        1.54193                                                         
 5.24289E-22    5.24289E-22                                                     
                                                                                
*** TEST PASSED IF THE EXPECTED VALUES AND THE CALCULATED                       
    VALUES ARE NUMERICALLY EQUAL OR APPROXIMATELY SO  ***                       
                                                                                
                                END TEST.                                       
                                                                                
SECTION 165.2: NUMERIC EXPRESSIONS AS ARGUMENTS                                 
        TO TAB-CALLS.                                                           
                                                                                
                               BEGIN TEST.                                      
                                                                                
000000000111111111122222222223333333333444444444455555555556666666666777        
123456789012345678901234567890123456789012345678901234567890123456789012        
  A  B                                                              C           
                                                                                
*** TEST PASSED IF THE CHARACTERS 'A', 'B' AND 'C' ARE                          
    PRINTED IN COLUMNS 3, 6, AND 69 RESPECTIVELY  ***                           
                                                                                
                                 END TEST.                                      
                                                                                
END PROGRAM 165                                                                 
