thank you very much! you are most kind!
I think your explanation is very good for me, thanks again!
if I use example 2, such as CALL subcc(ary(1:5,1:n),5,n),
when running this program , is it need additional memory to store temporary array? that is, example 2 comparing with example 1, it need...
thanks, I seem to understand your explanation. If I want to get my value, I must specify the dimension of array ary when calling subroutine subcc, such as CALL subcc(ary(1:5,1:n),5,n) or CALL subcc(ary(:,1:6),10,6). If I pass array ary into subroutine subcc with 'CALL subcc(ary,5,n) or...
Hi, I code fortran in AIX with xlf90 compiler, find a error,
the source code is as follows:
MODULE modaa
CONTAINS
!----------------------------
SUBROUTINE SUBAA(n)
integer,intent(in) :: n
integer,parameter :: m=10
real,dimension(1:m,1:n) :: ary
call...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.