Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!exodus-bb!khb From: khb@chiba.Eng.Sun.COM (Keith Bierman fpgroup) Newsgroups: comp.lang.fortran Subject: Re: {upper|lower}case (Re: intrinsic) Message-ID: Date: 19 Dec 90 18:23:21 GMT References: <52072@eerie.acsu.Buffalo.EDU> <406@inetg1.arco.com> Sender: news@exodus.Eng.Sun.COM Distribution: comp Organization: Sun MegaSystems Lines: 34 In-reply-to: quan@sol.surv.utas.edu.au's message of 19 Dec 90 06:28:45 GMT In article quan@sol.surv.utas.edu.au (Stephen Quan) writes: ... I had a lousy, pain in the neck, search forever kind of bug which simply turned out to be I was opening files with the letters in wrong cases. ie. OPEN (11,FILE="XYZ") needed to be changed to OPEN (11,FILE="xyz"). The UNIX platform doesn't support standard Fortran very much does it?! If the compiler and runtimes never allowed lower case, linkage to the host OS (unix) would be so broken that few would be happy. > turned out to be I was opening files with the letters in wrong cases. Upper case characters are perfectly allowed in Unix file names .... by wrong do you mean that you were trying to read a file which had been created outside of f77, with lowercase characters? If so, how is this f77's fault ???? There are perfectly valid gripes about Unix, but this would not seem to be one of them. I suppose that Fortran was meant for systems where filenames were case insensitive. As pointed out by others, x3.9-1978 only _requires_ characters of a single case. It permits others, and any OS which has them better have appropriate language support .... as a quality of implementation issue. -- ---------------------------------------------------------------- Keith H. Bierman kbierman@Eng.Sun.COM | khb@chiba.Eng.Sun.COM SMI 2550 Garcia 12-33 | (415 336 2648) Mountain View, CA 94043