Re: Formatted output and new_line('a') on "\r\n" systems
- From: Gary Scott <garylscott@xxxxxxxxxxxxx>
- Date: Sun, 15 Oct 2006 05:18:56 GMT
Richard E Maine wrote:
Elijah Cardon <invalid@xxxxxxxxxxx> wrote:I realize out it is actually defined, but the definition of unformatted also confuses many that think it describes a stream type of file (i.e. most think of it as devoid of record delimiters as well). This is the first I recall of someone refering to list directed files as "unformatted" but I can understand that confusion as well. I think the term "unformatted" isn't sufficiently clear.
I think you're asking a question that is more involved than this response.
What I know is that windows gives me "\r\n" for a garden-variety, unformatted write.
I'll give my knee-jerk response here. You are *NOT* talking about
unformatted. You are talking about list-directed formatting, which is
formatted. Some people sloppily refer to list-directed as unformatted.
That terminology is incorrect, and causes confusion.
Unformatted is something completely unrelated. It basically refers to
the data being on the file with the same bits as it has in memory,
rather then being converted to a character form. That conversion to
character form is the formatting. It doesn't matter whether a format
statement is involved or not - it is still formatting.
--
Gary Scott
mailto:garylscott@sbcglobal dot net
Fortran Library: http://www.fortranlib.com
Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html
Why are there two? God only knows.
If you want to do the impossible, don't hire an expert because he knows it can't be done.
-- Henry Ford
.
- Follow-Ups:
- Re: Formatted output and new_line('a') on "\r\n" systems
- From: glen herrmannsfeldt
- Re: Formatted output and new_line('a') on "\r\n" systems
- References:
- Formatted output and new_line('a') on "\r\n" systems
- From: Tobias
- Re: Formatted output and new_line('a') on "\r\n" systems
- From: Elijah Cardon
- Re: Formatted output and new_line('a') on "\r\n" systems
- From: Richard E Maine
- Formatted output and new_line('a') on "\r\n" systems
- Prev by Date: Re: Formatted output and new_line('a') on "\r\n" systems
- Next by Date: Re: Formatted output and new_line('a') on "\r\n" systems
- Previous by thread: Re: Formatted output and new_line('a') on "\r\n" systems
- Next by thread: Re: Formatted output and new_line('a') on "\r\n" systems
- Index(es):
Relevant Pages
|