2 ! PR25828 Stream IO test 8
3 ! Contributed by Jerry DeLisle <jvdelisle@verizon.net>.
12 OPEN(UNIT=11, ACCESS="stream")
13 inquire(unit=11, pos=mypos)
14 if (mypos.ne.1) call abort()
16 inquire(unit=11, pos=mypos)
17 if (mypos.ne.6) call abort()
19 inquire(unit=11, pos=mypos)
20 if (mypos.ne.12) call abort()
22 inquire(unit=11, pos=mypos)
23 if (mypos.ne.16) call abort()
26 inquire (11, pos=mypos)
28 if (r.ne.12.25) call abort()
29 inquire(unit=11, pos=mypos)
30 inquire(unit=11, access=mystring)
31 if (mypos.ne.24) call abort()
32 if (mystring.ne."STREAM") call abort()
33 CLOSE(UNIT=11, status="delete")
34 END PROGRAM stream_io_8