Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!earth!ravi From: ravi@earth.ce.nwu.edu (Ravi Sinha) Newsgroups: comp.lang.fortran Subject: Re: Implicit parameters in Sun 1.3.1 Fortran: Bug Message-ID: <3301@casbah.acns.nwu.edu> Date: 8 Feb 91 03:24:59 GMT References: <6004@idunno.Princeton.EDU> <1139@nikhefh.nikhef.nl> Sender: news@casbah.acns.nwu.edu Reply-To: ravi@earth (Ravi Sinha) Organization: Civil Engineering Dept., Northwestern University Lines: 20 In article <1139@nikhefh.nikhef.nl> t19@nikhefh.nikhef.nl (Geert J v Oldenborgh) writes: >In article <6004@idunno.Princeton.EDU> rhl@grendel.Princeton.EDU (Robert Lupton (the Good)) writes: >> implicit real*8 (a-z) ^^^ >> parameter (PI=3.14159) >> print *,dcos(PI) >>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! Isn't Fortran NOT supposed to be case sensitive? I think that this behavior can not be characterized as any thing but a bug. Since PI is not a CHARACTER variable, why should the case matter? --------------------------------------------------------------------- Ravi Sinha | As usual, the opinions here Northwestern University | are mine, and only mine. ravi@earth.ce.nwu.edu | Who'd want to claim these anyway?