<Syntax> |
|
|
|
PRINT format [ , item ]...
format ::= * | label | expr
item ::= expr | implied-do
implied-do ::= ( item [ , item ]... , do-spec )
do-spec ::= name = expr , expr [ , expr ]
The label in a format must be the label of a FORMAT statement.
The expr in a format must be a character expression
or an integer variable name that has been ASSIGNed the label of a FORMAT statement.
The name in a do-spec must be an Integer variable.
|
|
|
|
|
|
<Semantics> |
|
|
|
The PRINT statement writes to the default output unit;
it is exactly the same as
WRITE (*,format) item [ , item ]...
|
|
|
|
|
|
<Related> |
|
|
|
ASSIGN statement,
FORMAT statement,
READ statement,
WRITE statement |
|
|