Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!nysernic!csv.rpi.edu!hiebeler From: hiebeler@csv.rpi.edu (David Hiebeler) Newsgroups: comp.lang.pascal Subject: Re: turbo & byte-reading Message-ID: <353@nysernic> Date: Mon, 10-Aug-87 23:35:07 EDT Article-I.D.: nysernic.353 Posted: Mon Aug 10 23:35:07 1987 Date-Received: Wed, 12-Aug-87 01:58:44 EDT Sender: nobody@nysernic Reply-To: hiebeler@csv.rpi.edu (David Hiebeler) Organization: RPI CS Dept, Troy, New York Lines: 16 Hi there. I am using Turbo-Pascal on an IBM PC and want to do some byte- reading. Specifically, here's the set-up: I have some plotfiles. These files are stored simple as a series of bytes, each byte's bits representing so many pixels (7 or 8?). There is no header or anything in the plotfiles, and they are stored one row after another, with no carriage returns in between or anything -- just a series of bytes. What I want to do is read in the file, one byte at a time, so that I may process it, and construct an array of bits. Does anyone know how to read bytes like this in Turbo? Assume the plot is PLANESIZE x PLANESIZE. I can handle converting the bytes into a 2-D array, I just can't get the bytes! Thanks, please help me soon! -D.H. ---- David Hiebeler hiebeler@csv.rpi.edu Chatham, NY "Illusions, Richard! Every (also Troy, NY) bit of it illusions!"