Xref: utzoo comp.lang.fortran:3823 comp.os.msdos.programmer:1068 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!mailrus!sharkey!bnlux0!gill From: gill@bnlux0.bnl.gov (ronald gill) Newsgroups: comp.lang.fortran,comp.os.msdos.programmer Subject: Re: MS Fortran 5.00 FP underflows Keywords: Microsoft,Fortran Message-ID: <2150@bnlux0.bnl.gov> Date: 21 Sep 90 18:47:13 GMT References: <1990Sep20.215410.4844@csun.edu> <1990Sep21.082155.1743@usenet.ins.cwru.edu> Organization: Brookhave National Lab, Upton, NY Lines: 13 I tried to email, but it bounced back. I had a similar FP problem with a large program using MicroSoft FORTRAN 4.0. If I added a line or two the program would crash, even if the line was just i=0, or something trivial. I solved it by compiling with the HUGE attribute, ie.: fl /AH /FPi87 ... Apparantly, the program was just overflowing some segment and external routines that were being called got lost. I was calling some C routines that controlled a tape drive, some VDI routines for graphics, plotters, etc. It still has a problem that when you do an EXIT or STOP, the system crashes! I solved that by using a PAUSE instead, and giving the user a message to Control-C to exit the program: that seems to work. Talk about a kludge... --Rongill