Next: More About Operations
Up: Simple Input / Output
Previous: PRINT Statement
READ accepts unformatted data from the standard
input channel, for example, if the type declarations are the same as for
the PRINT example,
READ*, long_name
READ*, x, y, z
READ*, lacigol
accepts
Llanphairphwyll...gogogoch
0.4 5. 1.0e12
T
Note,
- each READ statement reads from a newline;
- the READ statement can transfer any object of
intrinsic type from the standard input;
For more information, click here
Next: More About Operations
Up: Simple Input / Output
Previous: PRINT Statement
©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997Not for commercial use.