[futurebasic] Re: [FB] More big global info

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

From: Paul Bruneau <paul_bruneau@...>
Date: Thu, 05 Aug 1999 16:45:56 -0400
And I'll have to be careful that gBigAssRecord& is in fact a
dereferenced handle, subject to all that danger, right? Maybe a pointer
is better, as previously suggested...

PB

Mark Goodes wrote:
> 
> Paul Bruneau wrote:
> 
> >
> >
> > I think I will implement a version of Jamin's suggestion (or perhaps use
> > a handle instead of a pointer), it's just that using
> > gBigAssRecord.whatever% is a lot easier for me than handle maintenance.
> >
> 
> If you do the following, chances are that you'll have to make minimal changes to
> your code.  Excuse the continuation of the David Letterman terminology.
> 
> Local Fn DoRecord
> gBigAssHandle&=fn NEWHANDLE(_gBigAssRecordSize)
> gBigAssRecord&=[myHandle&]
> gBigAssRecord&.whatever%=someValue%
> someOtherValue%=gBigAssRecord&.whatever%
> End Fn
> 
> In this way you only use 8 bytes of global space for your global record and you can
> still make use of your record structure.
> 
> --
> To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>