[futurebasic] Re: [FB] WRITE FILE# and READ FILE #

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2003 : Group Archive : Group : All Groups

From: Ted Spencer <tedspencer@...>
Date: Thu, 1 May 2003 10:12:49 -0400
On Wednesday, April 30, 2003, at 08:45  PM, barrie wrote:

> I should have said original numbers. I originally put 1's into the 
> array and
> got 257's out of the array..... I am clearly out of my depth here so I 
> will
> be content with just using BLOCK FILL to clear arrays with 0.
> Many thanks for your help
>
If BLOCKFILL works on a byte-by-byte level, filling with "1" will write 
(to an integer):

(binary) 00000001 00000001 (= hex 0101)

which is, of course, 257.
--
Ted Spencer
--
The reasonable man adapts himself to the world; the unreasonable one 
persists in trying to adapt the world to himself. Therefore, all 
progress depends on the unreasonable man.
(George Bernard Shaw)