From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,637c38073e9248fa X-Google-Attributes: gidfee84,public From: lionel@quark.zko.dec.com (Steve Lionel) Subject: Re: F77 4.0: Is this warning correct? Date: 1996/08/28 Message-ID: <501v0i$ohg@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 176940850 distribution: world sender: lionel@quark.enet.dec.com (Steve Lionel) references: <4vkung$f3d@nntpd.lkg.dec.com> <4vuq0e$632@hawk.le.ac.uk> organization: Digital Equipment Corporation, Nashua NH reply-to: lionel@quark.zko.dec.com (Steve Lionel) newsgroups: comp.unix.osf.osf1 In article <4vuq0e$632@hawk.le.ac.uk>, Clive Page writes: |>Um, could you explain why LEN returns INTEGER*8? And isn't that |>inconsistent with the Fortran Standard, which surely specifies that LEN is |>to return a "default" integer? The Fortran 77 standard just says "integer", since there is only one integer type. The Fortran 90 standard does say "default integer". We chose to deviate from the standard here because it seemed the right thing to do, with our support of objects whose size exceeds 32 bits. It's difficult to write a meaningful standard-conforming program that can tell the difference (I haven't yet thought of a way to write even a non-meaningful F77 program that could). The larger return size shouldn't make an operational difference in an application. -- Steve Lionel mailto:lionel@quark.zko.dec.com Fortran Development http://www.digital.com/info/slionel.html Digital Equipment Corporation 110 Spit Brook Road, ZKO2-3/N30 Nashua, NH 03062-2698 "Free advice is worth every cent" For information on Digital Fortran, see http://www.digital.com/info/hpc/fortran/