No announcement yet.

More than 64K of variables errors...

  • Filter
  • Time
  • Show
Clear All
new posts

  • Tom Hanlin
    Or use more LOCAL variables in place of GLOBALs, where practical.

    Tom Hanlin
    PowerBASIC Staff

    Leave a comment:

  • Michael Mattias
    Looks like Compile/Get Info might be useful. See code and data sizes.

    It's been a while since I've used the MS-DOS compiler, but I think DATA is the size of your default data segment(+literal pool?).


    Leave a comment:

  • Lance Edmonds
    That level of detail is not provided by the compiler, but essentially it means that your <U>scalar</U> variables are occupying more then one 64Kb segment.

    IOW, it's probably a pretty big program to have that many scalar variables!

    Therefore, the program might suit being broken up into smaller CHAIN modules or similar?

    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:

  • Mike Luther
    started a topic More than 64K of variables errors...

    More than 64K of variables errors...

    I'm beginning to hit more than 64K of variables errors during compile
    time in PB 3.5 now and then - and the compiler can't finish the
    compile run...

    Is the Fre(-1) function a guideline for that, or is this something

    If it isn't, is there an internal PB function that will return the
    value which trips this during compile time so that I can watch this
    and begin to know when to oouch this or that as needed to still stay
    in the ball game?

    Curious mind wants to know..

    Mike Luther
    [email protected]

    [This message has been edited by Mike Luther (edited November 28, 2002).]