2 ! PR 53796 INQUIRE(RECL=...)
7 ! F2018 (N2137) 12.10.2.26: recl for unconnected should be -1
13 ! Formatted sequential
14 open(10, status
="scratch")
18 if (r
/= huge(0_8) - huge(0_4) - 1) then
21 if (r4
/= huge(0)) then
25 ! Formatted sequential with recl= specifier
26 open(10, status
="scratch", recl
=100)
34 ! F2018 (N2137) 12.10.2.26: If unit is connected
35 ! for stream access, recl should be assigned the value -2.
36 open(10, status
="scratch", access
="stream")
43 ! Also inquire by filename for a non-opened unit is considered
44 ! unconnected similar to the first test.
45 inquire(file
='unconnectedfile.txt', recl
=r
)