Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Allan E Johannesen <aej@wpi.wpi.edu>
Subject: Re: F77 4.0: Is this warning correct?
Date: 1996/08/27	[thread overview]
Message-ID: <x6ohjwde3c.fsf@wpi.WPI.EDU> (raw)
In-Reply-To: vzyivabiuet.fsf@nu.embl-heidelberg.de


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 ancient X3.9-1978 standard does say that LEN returns INTEGER, but there's
no point in devloping a 64 bit machine if you can't use it...  If one had to
write LONGLEN(string) on Digital UNIX to deal with potentially long strings,
maybe reserving LEN for "short" ones, then you wouldn't have a transportable
program.

I don't have a newer reference on my shelf.



      parent reply	other threads:[~1996-08-27  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-23  4:00 ` Steve Lionel
1996-08-27  4:00   ` Clive Page
1996-08-28  4:00     ` Steve Lionel
1996-08-23  4:00 ` Jack Patteeuw
1996-08-26  4:00   ` Steve Lionel
1996-08-27  4:00 ` Allan E Johannesen [this message]
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