[futurebasic] Re: [FB] Getting bytes out of a handle

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 1999 : Group Archive : Group : All Groups

From: GBeckman@...
Date: Fri, 5 Feb 1999 09:25:18 EST
Paul,

I would think

currentByte%=PEEK([handleLength&]+currentPosition%)

would work.  I am assuming that handleLength& is the handle and not just the
size of the handle?  

I would consider changing currentPosition% to currentPostion& as otherwise,
you could get a loop that had no way out in a block over 32K.

Hope this helps,

George