next up previous contents index
Next: END FILE Statement Up: Obsolete and Deprecated Features Previous: Specific Names of Intrinsic

PRINT Statement and simplified READ


The PRINT statement can produce formatted or list-directed output on the standard pre-connected output file. Thus these two statements have exactly the same effect:

       PRINT fmt, data-list 
       WRITE(*, fmt) data-list
The PRINT statement is limited in its functionality and misleading, since there is no necessity for its output to appear in printed form.

In a similar way there is a simplified form of READ statement, so these have the same effect:

       READ fmt, data-list 
       READ(*, fmt) data-list

Helen Rowlands