🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #3045

Re: binary IO in M2

#3045
From: Lassche MA
Date: Fri, 17 Nov 1995 13:57
25 lines
1054 bytes
Dr S. Hood (simonh@liverpool.ac.uk) wrote:

: 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: <DI6xFH.LCv.0.-s@cs.vu.nl>
Path: arc1-ca.pugleaf.net!cs.vu.nl!mlassche
References: <DI4zvy.19A@liverpool.ac.uk>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2
Path: arc1-ca.pugleaf.net!cs.vu.nl!mlassche
From: mlassche@cs.vu.nl (Lassche MA)
Subject: Re: binary IO in M2
Nntp-Posting-Host: kits.cs.vu.nl
References: <DI4zvy.19A@liverpool.ac.uk>
Sender: news@cs.vu.nl
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
Date: Fri, 17 Nov 1995 13:57:17 GMT
X-Newsreader: TIN [version 1.2 PL2]
Message-ID: <DI6xFH.LCv.0.-s@cs.vu.nl>