(j3.2006) FLUSH on non-connected unit
Daniel C Chen
cdchen
Wed Jun 1 17:05:00 EDT 2016
That works. Thanks Bill!
Daniel
XL Fortran Development - IBM Toronto Software Lab
Phone: 905-413-3056
Tie: 969-3056
Email: cdchen at ca.ibm.com
http://www.ibm.com/software/awdtools/fortran/xlfortran
From: Bill Long <longb at cray.com>
To: fortran standards email list for J3 <j3 at mailman.j3-fortran.org>
Date: 06/01/2016 17:03
Subject: Re: (j3.2006) FLUSH on non-connected unit
Sent by: j3-bounces at mailman.j3-fortran.org
You probably want 9.5.3p2:
All input/output statements are permitted to refer to units that exist. The
CLOSE, INQUIRE, and WAIT statements are also permitted to refer to units
that do not exist. No other input/output statement shall refer to a unit
that does not exist.
Cheers,
Bill
On Jun 1, 2016, at 3:55 PM, Daniel C Chen <cdchen at ca.ibm.com> wrote:
> Hello,
>
> I couldn't find wording in the standard that prohibits FLUSH statement on
a non-connected unit. i.e.
> Flush(10)
> End
>
> Is it allowed?
>
> Thanks,
>
> Daniel
>
> XL Fortran Development - IBM Toronto Software Lab
> Phone: 905-413-3056
> Tie: 969-3056
> Email: cdchen at ca.ibm.com
> http://www.ibm.com/software/awdtools/fortran/xlfortran
> _______________________________________________
> J3 mailing list
> J3 at mailman.j3-fortran.org
> http://mailman.j3-fortran.org/mailman/listinfo/j3
Bill Long
longb at cray.com
Fortran Technical Support & voice:
651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101
_______________________________________________
J3 mailing list
J3 at mailman.j3-fortran.org
http://mailman.j3-fortran.org/mailman/listinfo/j3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.j3-fortran.org/pipermail/j3/attachments/20160601/62d15ec3/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://mailman.j3-fortran.org/pipermail/j3/attachments/20160601/62d15ec3/attachment-0001.gif
More information about the J3
mailing list