home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp / 14803 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.3 KB  |  30 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!sunova!cssn0b!chow
  3. From: chow@cssn0b.pdsf.ssc.gov (Ivan Chow)
  4. Subject: strange problem on HP
  5. Message-ID: <1993Jan13.004841.27020@sunova.ssc.gov>
  6. Sender: usenet@sunova.ssc.gov (News Admin)
  7. Nntp-Posting-Host: cssn0b
  8. Reply-To: chow@cssn0b.pdsf.ssc.gov
  9. Organization: SSC
  10. Date: Wed, 13 Jan 1993 00:48:41 GMT
  11. Lines: 17
  12.  
  13. Hi experts,
  14.     I have a strange problem on HP.  I have a FORTRAN program
  15. on HP.  This FORTRAN program used a lots of COMMON blocks for
  16. passing data globally.  The first version of my program runs
  17. fine.  And now, I modify slightly the program.
  18. I open a file to read.  OK!  Now, strange thing happens,
  19. the values of some of my common blocks variables got messed up.
  20. I mean "messed up".  I have no idea how the values got changed.
  21. (There is no segmentation error or Bus error.)  What I did is just
  22. a simple open and read.  Nothing fancy.  I tried to use C to do
  23. the same read, the result was the same -- common block values got
  24. messed up.  I have tried just to read a dummy variable (not related to
  25. the program at all).  The result was the same.  No matter what I do, if
  26. I open a file and read in the program, the problem appears.
  27. Can someone please help?  I really have no clues.  :-(
  28.  
  29. Ivan
  30.