Hi,
I had so much success with solving my last problem in this forum that I'll try again. I have an existing fortran program that contains a lot of 'include' files in which common block variables are declared in the following way:
common /stpdat/ytran(2,MAXSOIL,MAXPROD,73,MAXDPTHS), - yevap(2,MAXSOIL,MAXPROD,73,MAXDPTHS), - yswc(2,MAXSOIL,MAXPROD,73,MAXDPTHS), - germ(2,MAXSOIL,MAXPROD,366)
real ytran,yevap,yswc
integer germ
When I try to compile this in silverfrost it gives me the error message:
germ is NOT an array etc.
Is this way of declaring variables not acceptable in Silverfrost? If it is acceptable, then it may also have something to do with how I include the variable files in the code:
I'm using the command line: include file='variables.inc'
Related to this: I also got a lot of error messages saying that there is a problem with the 'statement order': I generally include my variables.inc file at the very beginning of the programme/ subroutine because I need some of the variables in there to declare my arrays in the subroutines.
Any suggestions?
Thanks
Tamara