Next: GERROR, Previous: FSTAT, Up: Intrinsic Procedures
FTELL
— Current stream positionThis intrinsic is provided in both subroutine and function forms; however,
only one form can be used in any given program unit.
CALL FTELL(UNIT, OFFSET)
|
OFFSET = FTELL(UNIT)
|
OFFSET | Shall of type INTEGER .
|
UNIT | Shall of type INTEGER .
|
PROGRAM test_ftell INTEGER :: i OPEN(10, FILE="temp.dat") CALL ftell(10,i) WRITE(*,*) i END PROGRAM