Re: Writing sequential raw binary



In message <44469593.A4BF777D@xxxxxxxxxxxx>, Kevin G. Rhoads <kgrhoads@xxxxxxxxxxxx> writes
A better hack is to use unformatted, direct with record length=1, but that isn't available on
all platforms. Writing as character may invoke data transformation by the RTL, such as filtering
out "control" characters.

The g95 compiler already implements the Fortran-2003 stream I/O facilities, as described in
http://www.star.le.ac.uk/~cgp/streamIO.html
and several other compilers implement nearly the same thing, as noted in a section near the bottom of that note.

--
Clive Page
.



Relevant Pages

  • RE: Mouse Event, opposite of action Click?
    ... // set up filtering for the drop-down box ... private void TextBoxMouseMove ... foreach (char character in this.cannotContain.ToCharArray()) ... } // end FOREACH character in the forbidden string ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: VMS Mail translates incoming tilde character into a dollar sign.
    ... provide a MAIL.EXE image that just didn't do that filtering? ... And then for the next VMS version that version which didn't filter printable ... Today I retrieved the supporting files from the original problem report ... right brace character, ASCII 7D, to the filtered character list. ...
    (comp.os.vms)
  • Re: Topic Sentences
    ... > Camera-eye is somewhere in the middle of the scale. ... tied to the consciousness of a participating character. ... different from that of the filtering character. ... I see camera eye as an very strongly filtered ...
    (rec.arts.sf.composition)
  • Re: AnsiString and #0
    ... Another example of the RTL being careless with #0 character is in TStrings. ... LoadFromFile method. ...
    (borland.public.delphi.language.basm)
  • Re: Writing sequential raw binary
    ... all platforms. ... Writing as character may invoke data transformation by the RTL, ...
    (comp.lang.fortran)