forlang.hlp (Table of Contents; Topic list)
PRINT
                                             Up Contents Index Back
─────PRINT──────────────────────────────────────────────────────────────────
 
     Action
 
     Displays output on the screen.
 
     Syntax
 
     PRINT { *, | formatspec | namelist } [, iolist]
 
     Parameter          Description
 
     formatspec         A format specifier
 
     namelist           A namelist specifier
 
     iolist             A list of data to print
 
     Remarks
 
     If * replaces <formatspec>, output is list-directed.
 
     The PRINT statement writes only to unit *.
 
     If namelist is used, no <iolist> may appear.
 
     <iolist> may not contain structure variables, only structure
     elements.
 
     If a parameter is an expression that calls a function, that
     function must not execute an I/O statement or the EOF intrinsic
     function. Calling these functions causes unpredictable results.
 
     See Also:  NAMELIST
 
     Example
 
     C     The two following statements are equivalent:
           PRINT     '(A11)', 'Abbottsford'
           WRITE (*, '(A11)') 'Abbottsford'
                                    -♦-