[futurebasic] WRITE-a-byte?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1998 : Group Archive : Group : All Groups

From: Morrison SoftDesign <info@...>
Date: Thu, 15 Oct 1998 17:22:15 -0400
I am trying to write a single byte to a disk file.
It seems, however, that all I can write is a byte pair.

I've tried all sorts of things:


DIM singleByte;1
DIM singleBytePad;1
WRITE #1, singleByte

or this:

DIM bytePair;2
WRITE #1, bytePair.1

After execution, the file always has another byte after it (it has to be
even-ended?), but I need a single byte.

Help!


John

-- 
Font problems? We can help!

Morrison SoftDesign
http://www.MorrisonSoftDesign.com
1-800-583-2917