On Tue, 31 Aug 2004, Aleksandar Donev wrote:
> g77 complains on this:
>
> integer, save :: profiler(2)=0
I think there are two problems:
(1) g77 does not allow the addition of additional specifiers such as save
or paramter on a data type declaration, you have to do it in an additional
statement
(2) g77 allows an initialisation with name = value only when you are
declaring scalars.
So I think that with g77 you have to use a separate DATA statement (the
SAVE then is superfluous). Alternatively try g95 or gfortran?
Regards
--
Clive Page,
Dept of Physics & Astronomy,
University of Leicester, U.K.
|