The PRINT statement is a data transfer output statement.
>>-PRINT--+-name----------------------------+------------------>< '-format--+---------------------+-' '-,--output_item_list-'
A pointer must be associated with a target, and an allocatable object must be allocated. A derived-type object cannot have any ultimate component that is inaccessible to this statement. The evaluation of output_item cannot result in a derived-type object that contains a pointer. The structure components of a structure in a formatted statement are treated as if they appear in the order of the derived-type definition; in an unformatted statement, the structure components are treated as a single value in their internal representation (including padding).
An expression that is an output_item cannot have a value that is a procedure pointer.
Fortran 95 does not permit assigning of a statement label.
Specifying the -qport=typestmt compiler option enables the TYPE statement which has identical functionality to the PRINT statement.
>>-(--do_object_list-- , ---------------------------------------> >--do_variable = arith_expr1, arith_expr2-----------------------> >--+---+--+-------------+--)----------------------------------->< '-,-' '-arith_expr3-'
The range of an implied-DO list is the list do_object_list. The iteration count and the values of the DO variable are established from arith_expr1, arith_expr2, and arith_expr3, the same as for a DO statement. When the implied-DO list is executed, the items in the do_object_list are specified once for each iteration of the implied-DO list, with the appropriate substitution of values for any occurrence of the DO variable.
PRINT 10, A,B,C 10 FORMAT (E4.2,G3.2E1,B3)