Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!ames!dftsrv!jagubox.gsfc.nasa.gov!jim From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski) Newsgroups: comp.lang.fortran Subject: Re: Is this kosher? Message-ID: <2832@dftsrv.gsfc.nasa.gov> Date: 1 Feb 91 11:16:05 GMT References: <91030.132436KENCB@SLACVM.SLAC.STANFORD.EDU> Sender: news@dftsrv.gsfc.nasa.gov Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski) Organization: NASA/Goddard Space Flight Center Lines: 31 In article u502sou@c1a writes: }In article khb@chiba.Eng.Sun.COM }(chiba) writes: } } } In general, a FORTRAN processor (x3.9-1978 compliant), may do } anything it wants to with a non-standard compliant program. } Similarly with vendor documents, the constraint is on the user to } not write illegal (viz. code which violates the vendor's document) } code. If you do, it MAY work. That isn't a bug. } }That's the BAD think about FORTRAN... most dangerous things are }'forbidden' by the manuals, but most of them pass the compiler... It's }much fun to debug a program where you forgot a subroutine parameter... } Yeah, it would be nice if either the compiler complained (some do, some don't... I like the ones that do) or else there was lint for Fortran... Note: I didn't say anything about the standard requiring compilers to complain, did I? -- ======================================================================= #include =:^) Jim Jagielski NASA/GSFC, Code 711.1 jim@jagubox.gsfc.nasa.gov Greenbelt, MD 20771 "Exploding is a perfectly normal medical phenomenon. In many fields of medicine nowadays, a dose of dynamite can do a world of good."