home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #23 / NN_1992_23.iso / spool / vmsnet / misc / 919 < prev    next >
Encoding:
Internet Message Format  |  1992-10-12  |  1.8 KB

  1. Path: sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!news.ysu.edu!malgudi.oar.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!mccall!mccall!tp
  2. Newsgroups: vmsnet.misc
  3. Subject: Re: Output conversion warnings in Vax Fortran
  4. Message-ID: <1992Oct12.122509@mccall.com>
  5. From: tp@mccall.com (Terry Poot)
  6. Date: Mon, 12 Oct 1992 12:25:09 CST
  7. Reply-To: tp@mccall.com (Terry Poot)
  8. References: <1992Oct12.112837.18130@monu6.cc.monash.edu.au>
  9. Organization: The McCall Pattern Co., Manhattan, KS, USA
  10. Nntp-Posting-Host: mis1
  11. Nntp-Posting-User: tp
  12. Lines: 23
  13.  
  14.  
  15. In article <1992Oct12.112837.18130@monu6.cc.monash.edu.au>,
  16. bena@yoyo.cc.monash.edu.au (Ben Aveling) writes:
  17. >I'm sure anyone who has ever used Fortran has seen the ***** type output
  18. >when a number is too big to fit in it's format statement.  My gripe is
  19. >that every time my programs do that, it counts as a warning, and does a
  20. >stack dump.  Can some kind soul please tell me how I can stop this
  21. >happening, short of turning off all messages.
  22.  
  23. This probably isn't the answer you wanted, since it involves editting your
  24. source (presumably a lot of it) but if there is an iostat=<xx> specifier in your
  25. I/O statement, the stack dump won't appear.
  26.  
  27. I suppose the correct solution that doesn't involve changing your I/O statements
  28. would be to provide a condition handler that checked for that specific condition
  29. and resignalled all others. I'd imagine you could put such a condition handler
  30. on your main program. I expect it is the default condition handler that produces
  31. the stack dump. If it's one down in the FORTRAN RTL, then this won't work, and
  32. you'll have to use IOSTAT.
  33. --
  34. Terry Poot <tp@mccall.com>                   The McCall Pattern Company
  35. (uucp: ...!rutgers!depot!mccall!tp)          615 McCall Road
  36. (800)255-2762, in KS (913)776-4041           Manhattan, KS 66502, USA
  37.