home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!jal41820
- From: jal41820@uxa.cso.uiuc.edu (Smiley)
- Subject: Re: Segmentation Violation help...
- References: <Brt9nq.J5t@news.cso.uiuc.edu>
- Message-ID: <BruLMx.JC9@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Date: Thu, 23 Jul 1992 15:28:08 GMT
- Keywords: help
- Lines: 21
-
- jal41820@uxa.cso.uiuc.edu (Smiley) writes:
- :) open(unit=13,file=cendata,status='old',form='formatted')
- :) 1013 format (i4,i4,f8.1,f8.1,f9.4,f8.4)
- :) 73 read(13,1013,end=93) i,j,dum1,dum2,grid(i,j,1),grid(i,j,2)
- :) grid(i,j,2) = 0 - grid(i,j,2)
- :) go to 73
-
- As an added note, reading in normal variables such as "dum3,dum4" in place
- of the array variables on the read line, and then assiging the array values
- yields the same results.
-
- Lots of people have been making this suggestion, so I thought I'd mention
- it. :)
-
- (btw, thanks again to everyone who's tried to help... :)
-
- --
- Josh Laff # #
- email to: smiley@uiuc.edu _ _ Hello! I am a signature virus!
- (217) 356-6079 |#\_____/#| Join the fun and copy mo*#(*&^!>.
- \#######/
-