Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > Re: Read a head...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 10 of 13 Topic 8543 of 8908
Post > Topic >>

Re: Read a header and then a binary file?

by glen herrmannsfeldt <gah@[EMAIL PROTECTED] > Jul 24, 2008 at 05:26 AM

Richard Maine wrote:
(snip)

> And sequential unformatted goes back... well, pretty much forever.

Back to Fortran I, with the WRITE TAPE, READ TAPE, WRITE DRUM
and READ DRUM statements, though called binary I/O at the time.

The READ INPUT TAPE statement would do formatted I/O with
BCD (what would later change to BCDIC, before it was
extended to EBCDIC) data.

> Direct access was new to f77 (at least as a feature of the standard).

Non-standard, it goes back at least to OS/360 Fortran 66 compilers,
and likely before that.  The IBM form was implemented by others,
including many DEC compilers.

The unformatted direct access form:

       READ(a'r) list

and the formatted form:

       READ(a'r,b) list

r is the record number.

-- glen
 




 13 Posts in Topic:
Read a header and then a binary file?
badger <mdekauwe@[EMAI  2008-07-23 03:40:49 
RE: Read a header and then a binary file?
meek@[EMAIL PROTECTED]   2008-07-23 07:08:14 
Re: Read a header and then a binary file?
badger <mdekauwe@[EMAI  2008-07-23 06:44:33 
Re: Read a header and then a binary file?
GaryScott <garylscott@  2008-07-23 07:37:33 
RE: Read a header and then a binary file?
meek@[EMAIL PROTECTED]   2008-07-23 09:17:28 
Re: Read a header and then a binary file?
Rich Townsend <rhdt@[E  2008-07-23 15:12:36 
Re: Read a header and then a binary file?
nospam@[EMAIL PROTECTED]   2008-07-23 15:27:51 
Re: Read a header and then a binary file?
Rich Townsend <rhdt@[E  2008-07-23 22:08:42 
Re: Read a header and then a binary file?
nospam@[EMAIL PROTECTED]   2008-07-23 23:23:20 
Re: Read a header and then a binary file?
glen herrmannsfeldt <g  2008-07-24 05:26:38 
Re: Read a header and then a binary file?
glen herrmannsfeldt <g  2008-07-24 11:43:44 
Re: Read a header and then a binary file?
GaryScott <garylscott@  2008-07-23 09:00:23 
Re: Read a header and then a binary file?
GaryScott <garylscott@  2008-07-23 15:14:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Nov 19 7:34:23 CST 2008.