[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 08:06:33 -0400
Well, hmm. Let me see if I can make things clearer.

- There is no crash, it just gives the "over 32K" segment error

- It isn't compiling the .main file when it has the trouble, it's when
it compiles the first include

- I have SEGMENT statements between every include, and no include is
over 32K (they all compile fine if I comment out the big global record variables)

So, my fear is that the total of all the globals can't be over 32K,
which makes sense, but I've never seen it written in black and white,
and so far no one has said "Yes, Paul, your fears are correct, you
cannot have more than 32K worth of globals."

That is what would really make things clear for me.

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.

Thanks for all the help so far,

PB

David Cottrell wrote:
> 
> >Also, still no clue as to what to do about my giant 20K global records
> >which keep my includes from compiling when they get to the "globals"
> >area. Help?
> 
> Have you tried putting a SEGMENT statement in your .MAIN file just before
> the INCLUDE statement for the file which is causing a crash?
> 
> I think you will find that the probelm is that the included code is greater
> than 32k, and it is just falling over at the start of an included file.
> 
> I'm sure I solved a similar problem in this way.
> 
> Cheers
> 
> David
> 
> --
> To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>