J
Jeevan
Dear all,
I want to get the header name from a data file and include it in the
function.
FOr eg.
program main
character*80 getheader
open (1, file = 'input.doc', access= 'sequential',
& status = 'old')
read(1,'(A)')getheader
close(1)
call function(getheader)
end program main
subroutine function(getheader)
character*80 header
# include "getheader"
...............
.............
end
Now the problem is that it is not acceptimg the getheader
To be noted is that getheader conatins the path of the header
file...say ../inc/read.h
The error that i get is getheader is not a file or directory..
PLZZ can anyone throw light on this!!!!
I want to get the header name from a data file and include it in the
function.
FOr eg.
program main
character*80 getheader
open (1, file = 'input.doc', access= 'sequential',
& status = 'old')
read(1,'(A)')getheader
close(1)
call function(getheader)
end program main
subroutine function(getheader)
character*80 header
# include "getheader"
...............
.............
end
Now the problem is that it is not acceptimg the getheader
To be noted is that getheader conatins the path of the header
file...say ../inc/read.h
The error that i get is getheader is not a file or directory..
PLZZ can anyone throw light on this!!!!