Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!wuarchive!uunet!mcsun!hp4nl!nikhefh!t19 From: t19@nikhefh.nikhef.nl (Geert J v Oldenborgh) Newsgroups: comp.lang.fortran Subject: Re: Implicit parameters in Sun 1.3.1 Fortran: Bug Message-ID: <1139@nikhefh.nikhef.nl> Date: 7 Feb 91 17:21:34 GMT References: <6004@idunno.Princeton.EDU> Sender: t19@nikhef.nl (Geert J v Oldenborgh) Reply-To: t19@nikhefh.nikhef.nl (Geert J v Oldenborgh) Organization: Nikhef-H, Amsterdam (the Netherlands). Lines: 14 In article <6004@idunno.Princeton.EDU> rhl@grendel.Princeton.EDU (Robert Lupton (the Good)) writes: >We have recently installed Sun's fortran version 1.3.1 and one of my >users came across the following: > > implicit real*8 (a-z) > parameter (PI=3.14159) > print *,dcos(PI) > end > >the compiler complains about a type mismatch for dcos.... Common error: how about adding implicit real*8 (A-Z) If you mix cases - beware that Fortran may mix them too!