V3FIT
Main Page
Related Pages
Modules
Modules List
Module Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions/Subroutines
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Data Types List
Data Types List
Data Types
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
Functions/Subroutines
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
x
y
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Files
File List
File Members
All
b
c
g
i
l
m
n
p
t
v
w
Functions/Subroutines
b
c
g
i
m
p
t
v
w
Variables
Enumerations
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Macros
Pages
LIBSTELL
Sources
Miscel
getfilesize.f
1
SUBROUTINE
getfilesize (infile, filesize)
2
IMPLICIT NONE
3
CHARACTER(LEN=*)
,
INTENT(in)
:: infile
4
INTEGER
,
INTENT(out)
:: filesize
5
! ECH 2017-06-08 STAT is an intrinsic procedure that takes an integer array
6
! of dimension 13, not 12
7
! INTEGER :: istat, info(12)
8
INTEGER
:: istat, info(13)
9
LOGICAL
:: lexist, lopen, lvalid
10
! JDH 2010-07-20 Commented out below - not needed. Replaced with declaration
11
! without EXTERNAL.
12
! INTEGER, EXTERNAL :: stat
13
INTEGER
:: stat
14
15
istat = stat(infile, info)
16
IF
(istat == 0)
THEN
17
filesize = info(8)
18
ELSE
19
filesize = -1
20
END IF
21
22
END SUBROUTINE
getfilesize
Generated on Thu Mar 5 2020 15:49:23 for V3FIT by
1.8.17