"Richard Maine" <nospam@[EMAIL PROTECTED]
> wrote in message
news:1ifouc2.3t5l4klmm8qkN%nospam@[EMAIL PROTECTED]
> Gerry Ford <gerry@[EMAIL PROTECTED]
> wrote:
>
>> <robert.corbett@[EMAIL PROTECTED]
> wrote in message
>>
news:df35062a-3d4b-4a85-ad4a-ac00159e92d0@[EMAIL PROTECTED]
>
>> >> > PRINT *, 10
>
>> I don't know how 10 isn't a lun like any other.
>
> As in my reply to bru, see any Fortran text for the syntax of the PRINT
> statement. Usenet is not a substitute for a Fortran text. While we can
> help explain confusions, usenet alone is not actually a good way to
> learn the language from scratch. It does actually require at least some
> resource elsewhere also. The PRINT statement doesn't have a lun in it
> anywhere.
I'm surprised to hear that. I thought that luns is what you were dealing
with stdin and stdout as 5 and 6. That this snippet doesn't work
evidences
that I'm clearly in error here.
SUBROUTINE SQRT
PRINT 6, 10
END
PROGRAM MAIN
CALL SQRT
END
The print statement isn't, however, why this prog behaves differently than
you expect. It's that you'd've thought that sqrt would be unavailable as
a
subroutine name.
Luns would print as integers like any others. Why wouldn't ten be a lun?
print *, "la bella luna is full"
print *, "el chat lunatique"
--
"A belief in a supernatural source of evil is not necessary; men alone
are quite capable of every wickedness."
~~ Joseph Conrad (1857-1924), novelist


|