Article View: comp.lang.modula2
Article #3038Re: binary IO in M2
From: Martin C. Harvey
Date: Fri, 17 Nov 1995 00:39
Date: Fri, 17 Nov 1995 00:39
12 lines
1253 bytes
1253 bytes
Dear Dr Hood,
In reply to your query posted on comp.lang.modula2:
There is a way to output binary data to a file. In *my* implementation of Modula-2
the FileInOut library module exports the procedures RdBin and WrBin to enable one to
read/write binary data from the disk file. I will have a look at the library code,
and see if I can send you the relevant parts of the library modules. You may need
to amend the code in order to ensure that it makes the correct calls to the system
and other modules as defined in your version of Modula-2. I am currently using
TopSpeed M2 version 1.17 which is 16 bit dos based. If you are using a windows
compiler and environment, then it might be quite hard to reconcile the differences.
Technical Details
Message-ID:
<48glji$p0c@lyra.csx.cam.ac.uk>Path:
arc1-ca.pugleaf.net!lyra.csx.cam.ac.uk!newsReferences:
<DI4zvy.19A@liverpool.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!lyra.csx.cam.ac.uk!news From: "Martin C. Harvey" <mch24@cam.ac.uk> Newsgroups: comp.lang.modula2 Subject: Re: binary IO in M2 Date: 17 Nov 1995 00:39:14 GMT Organization: Cambridge University Message-ID: <48glji$p0c@lyra.csx.cam.ac.uk> References: <DI4zvy.19A@liverpool.ac.uk> NNTP-Posting-Host: pc2041.nmus.pwf.cam.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 1.22 (Windows; I; 16bit) To: simonh@liv.ac.uk