Re: Logicals converted to integers during reading
- From: "Steve Lionel" <steve.lionel@xxxxxxxxx>
- Date: 28 Jul 2006 09:09:11 -0700
Bálint Aradi wrote:
Hi,
I'd like to ask, if anybody knows what the standard says about the
conversion of "F", "T", ".f.", and ".t." to integers during reading.
For example:
program test
integer :: a
read(*,*) a
print *, "Value of a: ", a
end program test
The standard says that you can't do that. If you do it, then the
standard doesn't specify what happens. This does not make a compiler
which does the conversion non-conforming.
I'll go on record as saying that I hate this feature too, and keep
lobbying to have it abolished (or at least not the default). My advice
is to file a complaint about the behavior with Intel Premier Support
requesting that the behavior be changed.
Steve
.
- Follow-Ups:
- Re: Logicals converted to integers during reading
- From: beliavsky
- Re: Logicals converted to integers during reading
- References:
- Logicals converted to integers during reading
- From: Bálint Aradi
- Logicals converted to integers during reading
- Prev by Date: Re: DFPORT
- Next by Date: Re: Functions that return character strings
- Previous by thread: Re: Logicals converted to integers during reading
- Next by thread: Re: Logicals converted to integers during reading
- Index(es):
Relevant Pages
|