(j3.2006) INQUIRE by output list

Bill Long longb
Tue Aug 20 13:47:35 EDT 2013



On 8/20/13 12:30 PM, Richard hendrickson wrote:
>
>
> ------------------------------------------------------------------------
> *From:* Bill Long <longb at cray.com>
> *To:* fortran standards email list for J3 <j3 at j3-fortran.org>
> *Sent:* Tuesday, August 20, 2013 11:18 AM
> *Subject:* (j3.2006) INQUIRE by output list
>
>
> The INQUIRE statement form used to determine a record size has the
> syntax form
>
>    INQUIRE (IOLENGTH=<scalar-int-variable>)  <output-item-list>
>
> The <output-item> can be a simple variable name.  But the rules for the
> syntax term  <output-item> appear to require that the variable be
> defined.  That does not really seem necessary in this case.  Was this
> intentional?
>
> Probably overkill, but don't, at the minimum, things like allocatable
> arrays need to be allocated?
>

Yes, that is specifically stated for output items at [217:22], and  is 
needed for the INQUIRE to work.  Maybe the original reason was the 
economy of not making a new syntax term.

Cheers,
Bill



> Dick Hendrickson
> Cheers,
> Bill
>
> --
> Bill Long longb at cray.com <mailto: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 <mailto:J3 at mailman.j3-fortran.org>
> http://mailman.j3-fortran.org/mailman/listinfo/j3
>
>
>
>
> _______________________________________________
> 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





More information about the J3 mailing list