OPEN statement assumption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm a new user of the g77 compiler and I came across the following
question in porting a legacy code.  What is the assumed units when
specifying the record length in an OPEN statement?  For example,
in the following statement:

         OPEN(UNIT=40,
      *        ACCESS='DIRECT',RECL=NREC,STATUS='UNKNOWN',FILE=UNIX40)

what units are assumed for variable NREC? Some Fortrans assume bytes, some
assume 4-byte words, etc.


I couldn't find this information on-line, but perhaps I wasn't looking in the
right place.


Thanks.

David Feller


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux