01-110r1 Issue 307 - What Does INQUIRE Really Return? To: J3 From: Craig Dedo Date: January 4, 2001 Subject: Issue 307 - What Does INQUIRE Really Return? Issue A naive reader such as myself has trouble in reconciling the statements about INQUIRE in 9.8.1.18,24,25,28,29,30 versus those in 9.5.4.4.3. The 9.8.1.x sections say that INQUIRE returns the values "in effect". Section 9.5.4.4.3, in particular note 9.44, says that io_mode has the "current" values (which sounds like the ones"in effect" to me), and that INQUIRE returns the values from the most recent OPEN (or the default). Analysis The intent of the INQUIRE statement in all cases is to return the value of the connection modes (a.k.a. properties) at the time that the INQUIRE statement is executed. Therefore, the rules in 9.8.1 should hold in all cases. Note 9.44 in 00-007r3 is note 9.45 in 01-007. Edits Edits are with respect to the 01-007. [192:41-43] Replace the sentence with, "The INQUIRE provides values as specified in 9.8.1.". [192:44+] Insert J3 note: "JOR and the editor agree that the io_mode argument is redundant with respect to INQUIRE and should be considered for deletion." [200:29-35] Delete the J3 note. References 01-007, Fortran 2000 Draft 01-102, Changes to List of Unresolved Issues [End of J3 / 01-110r1]