home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!elroy.jpl.nasa.gov!ames!kronos.arc.nasa.gov!iscnvx!netcomsv!netcom.com!jchauvin
- From: jchauvin@netcom.com (John H. Chauvin)
- Subject: Dimensioning arrays passed in a parameter list.
- Message-ID: <1992Nov7.160034.6836@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- Date: Sat, 7 Nov 1992 16:00:34 GMT
- Lines: 29
-
-
- I am currently porting a FORTRAN 66 program from an IBM 3090 to a Silicon
- Graphics workstation. Can someone tell me the correct FORTRAN 77 procedure
- for dimensioning arrays passed in a call parameter list: For example:
-
- . DIMENSION A(50),B(50)
- .
- .
- .
- .
- CALL XYZ(A,B)
- .
- .
-
- SUBROUTINE XYZ(A,B)
- DIMENSION A(1),B(1) <====== Is this correct?
- DIMENSION A(*),B(*) <====== Or Is this right?
- .
- .
-
-
- How do I handle passing two or three dimensional arrays? (A(1,1,1) or A(*,*,*)?)
-
- Thanks,
-
- jchauvin@netcom.com
- --
- John H. Chauvin jchauvin@netcom.COM
- Netcom - Online Communication Services San Jose, CA
-