Re: Automatic allocation of an available file unit



Paul Van Delst wrote:

<snip>

But, if you do the above doesn't it mean that you don't really care what the actual unit
value is? All you care is that it's valid to use for file I/O, right? So what does it
matter if it's negative?

The NUMBER specifier for the INQUIRE statement returns the unit number
connected to the file, or -1 if there is no unit connected to the file.
Therefore I would never want -1 to be a valid unit number.

.



Relevant Pages

  • Re: Books
    ... snip ... ... The implementation doesn't matter as long as the end-result is ... I don't care how something is implemented as long as ...
    (comp.lang.c)
  • Re: Automatic allocation of an available file unit
    ... All you care is that it's valid to use for file I/O, ... matter if it's negative? ... I didn't explicitly mention -ve error code exclusion in my post since the proposal text already did. ...
    (comp.lang.fortran)
  • Re: Peloton
    ... care. ... subkect of that child is closed, fullstop, there is no more discussion ... of the matter. ...
    (uk.rec.cycling)
  • Re: Mixing PHP and Javascript
    ... Only in very limited cases does it ever matter. ... Automatic semicolon insertion takes care of it when it isn't present. ...
    (comp.lang.javascript)
  • Re: delete lines that contain duplicated column items
    ... I just care about duplicated ones in column 2, if so, to delete the ... Does it matter which line is deleted? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)