home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!giaeb!simon
- From: simon@giaec.cc.monash.edu.au (simon shields)
- Subject: adjustable arrays
- Message-ID: <simon.712286479@giaeb>
- Sender: news@monu6.cc.monash.edu.au (Usenet system)
- Organization: Monash University, Melb., Australia.
- Date: Tue, 28 Jul 1992 01:21:19 GMT
- Lines: 32
-
-
- Hi
- I'm using a
- HP-UX giaec A.08.07 A 9000/720 2001133857
- machine. I have programs that I wrote that make use of adjustable
- dimensions. They worked fine on our previous HP800 type machine, but
- come up with a declaration error on the 720's. Do I need a special
- switch to enable me to use adjustable dimensions with the f77 command
- ?
-
- Thanks
-
- This is the subroutine that makes use of the adjustable dimension
- facility.
-
- SUBROUTINE graph (coords, curves, fname)
- EXTERNAL fill the array
- INTEGER coords, curves
- LOGICAL fill the array
- CHARACTER fname*(*)
- REAL xdra (coords,curves), ydra (coords, curves),tr(curves)
- ERROR __________^^^^^^^^^^
- IF (fill the array (xdra, ydra,tr, coords, curves, fname)) THEN
- CALL graph the array (xdra, ydra,tr, coords, curves, fname)
- CALL do plt
- ELSE
- PRINT *,"Couldn't fill the array so graph was NOT done !!"
- PRINT *,"Sorry about that !!"
- ENDIF
- RETURN
- END
-
-