forlang.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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'
                                    -♦-