Article View: comp.lang.modula2
Article #3028binary IO in M2
From: Dr S. Hood
Date: Thu, 16 Nov 1995 12:55
Date: Thu, 16 Nov 1995 12:55
24 lines
916 bytes
916 bytes
Hi,
I am wondering if anyone has, or knows the whereabouts of, a Module
which will help me do simple binary IO to a disk file. This will presumably
be much faster than ascii IO.
Ideally I would like to write something like:
result[i] := .....;
Bin_IO.Create_Binary_File("my_file", file_handle);
FOR i := 1, lots
Bin_IO.Wr_Real_Bin(result[i]);
END
Bin_IO.Close_Binary_File(file_handle);
I would appreciate answers by email. Thanks.
--
Simon simonh@liv.ac.uk
Dr S Hood, Oceanography Labs, University of Liverpool, U.K.
Technical Details
Message-ID:
<DI4zvy.19A@liverpool.ac.uk>Path:
arc1-ca.pugleaf.net!EU.net!uknet!liv!simonhShow Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2 Path: arc1-ca.pugleaf.net!EU.net!uknet!liv!simonh From: simonh@liverpool.ac.uk (Dr S. Hood) Subject: binary IO in M2 Message-ID: <DI4zvy.19A@liverpool.ac.uk> Sender: news@liverpool.ac.uk (News System) Nntp-Posting-Host: uxa.liv.ac.uk Organization: The University of Liverpool Date: Thu, 16 Nov 1995 12:55:09 GMT