home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc!sdd.hp.com!hpscit.sc.hp.com!hpuerca.atl.hp.com!aaa
- From: aaa@hpuerca.atl.hp.com (Simon Fowler)
- Subject: Re: Softbench 1.0 on HP 720
- Sender: news@hpuerca.atl.hp.com ( News admin)
- Message-ID: <C0qtM4.Lyn@hpuerca.atl.hp.com>
- Date: Tue, 12 Jan 1993 13:32:27 GMT
- References: <1ituuiINNqhe@nz12.rz.uni-karlsruhe.de>
- Organization: Hewlett-Packard Company, Atlanta GA
- Lines: 36
-
- In article <1ituuiINNqhe@nz12.rz.uni-karlsruhe.de>, bosch@rz.uni-karlsruhe.de (Gerhard Bosch) writes:
- > Hi, I was wondering if there are any know troubles with Softbench Version
- > 1.0 on an HP 720 using HPUX 8.05.
- >
- > Could it be possible that it doesn't work to check the value of a 3-dimensional
- > array. Just a short Fortran section to define such an array.
- >
- > parameter(nx=20,ny=20,nz=20)
- > real x(nx,ny,nz)
- >
- > I haven't done a systematic survey ( Just using softbench ) but I wasn't
- > able to check the value of such an array element using explicitly the
- > interested indices ?
-
- It's not clear what question you are asking exactly since Softbench does nothing
- with FORTRAN. I will make the assumption that the question you are asking is:
-
- Why won't xdb (softdebug) print out the value of a multi-dimensioned array in
- FORTRAN if the array is dimensioned "dynamically"?
-
- e.g.
- DIMENSION ARY(10,10)
-
- CALL SUB(ARY,10,10)
-
-
- SUBROUTINE SUB(a,n,m)
- DIMENSION a(n,m)
-
- C a(i,j) cannot be printed out here by xdb
-
-
- This is a known problem. Workaround is to give the actual dimensions in the
- subroutine.
-
- simon
-