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 8 of 13 Topic 8543 of 8908
Post > Topic >>

Re: Read a header and then a binary file?

by Rich Townsend <rhdt@[EMAIL PROTECTED] > Jul 23, 2008 at 10:08 PM

Richard Maine wrote:
> Rich Townsend <rhdt@[EMAIL PROTECTED]
> wrote:
> 
>> Isn't there a big oversight here, that UNFORMATTED is not the same as a
>> raw data stream? On many systems, UNFORMATTED has codes inserted that
>> describe the size of the next bit of data. These codes will be
gibberish
>> if you try to read a piece of text as UNFORMATTED.
> 
> You are describing unformatted sequential. The "sequential" part is
> im****tant; if you leave it off, then the statement is incorrect. There
> are also unformatted direct access and unformatted stream. The later two
> do not normally have any such extra codes inserted. Unformatted direct
> access doesn't have them in the usual implementation, though the
> standard doesn't require that implementation.
> 
> For unformatted stream, the standard specifies that it must be the raw
> data stream. That's usually what people are referring to when they use
> the common but inappropriate term "binary".
> 

Unformatted stream is F2003, right? Whereas direct and sequential go back
to... F77?

cheers,

Rich
 




 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 8:13:04 CST 2008.