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: Allan E Johannesen Subject: Re: F77 4.0: Is this warning correct? Date: 1996/08/27 Message-ID: #1/1 X-Deja-AN: 176782022 references: organization: Worcester Polytechnic Institute, Worcester, MA 01609-2280 newsgroups: comp.unix.osf.osf1 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 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.