Re: Short records on unformatted reads
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Sun, 29 Oct 2006 22:45:32 -0800
Thomas Koenig <Thomas.Koenig@xxxxxxxxx> wrote:
If I replace the line
read (10, err=20) ia
with
read (10, err=20) ia(1), ia(2)
or
read (10, err=20) (ia(i),i=1,2)
(and add integer::i as appropriate above)
then I would expect ia(1) to be defined, though.
You can expect what you want, but I don't think that's what the standard
says. I'm fairly sure it says that all the variables in the input list
become undefined. But I need to go - no time to look it up.
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.
- References:
- Short records on unformatted reads
- From: Thomas Koenig
- Re: Short records on unformatted reads
- From: Richard Maine
- Re: Short records on unformatted reads
- From: Thomas Koenig
- Short records on unformatted reads
- Prev by Date: Re: Online F77 information...
- Next by Date: Re: READ-statement and a segmentation fault
- Previous by thread: Re: Short records on unformatted reads
- Next by thread: Re: Short records on unformatted reads
- Index(es):