From: lionel@quark.zko.dec.com (Steve Lionel)
Subject: Re: F77 4.0: Is this warning correct?
Date: 1996/08/28 [thread overview]
Message-ID: <501v0i$ohg@nntpd.lkg.dec.com> (raw)
In-Reply-To: 4vuq0e$632@hawk.le.ac.uk
In article <4vuq0e$632@hawk.le.ac.uk>, Clive Page <cgp@le.ac.uk> 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/
next prev parent reply other threads:[~1996-08-28 4:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-22 4:00 F77 4.0: Is this warning correct? Rob Hooft
1996-08-23 4:00 ` Steve Lionel
1996-08-27 4:00 ` Clive Page
1996-08-28 4:00 ` Steve Lionel [this message]
1996-08-23 4:00 ` Jack Patteeuw
1996-08-26 4:00 ` Steve Lionel
1996-08-23 4:00 ` Steve Lionel
1996-08-27 4:00 ` Allan E Johannesen
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox