but there are no 2-d arrays at all...
all the arrays are 1-d and all the indexes are integers, which are functions of J (from main prog J=5,20).
So am not sure of what you have mentioned.
Anyway, thanks for the reply...
FORTRAN error "array bound is not scalar integer"
I'd like to know if a loop can be created, inside which I can call a subroutine in which there are arrays to be defined whose size varies as a function of loop variable. I tried as following, but got error "array bound is not scalar integer"...