Subject Re: Too Many Symbols error
From michael <michael@abstractservices.com.au>
Date Tue, 21 Mar 2023 04:19:37 -0400
Newsgroups dbase.getting-started

Top Tip Ken but unfortunately theres not much I can pull out of the main library to seperate it but it seemed to work when I split it.

It helped for now but i am dreadfully close on all limits, do we know if they have expanded the limitation on Dbase 19 or the new version not released yet?

Do we know whats in the new version ?

Thanks ,

Michael.


Ken Mayer Wrote:

> On 3/19/2023 2:14 PM, michael wrote:
> > Hi Guys,
> >
> > My apps over the years are becoming quite large and I seem to be hitting limits as to the the amount of commands or variables in a .wfm or .prg file.
> >
> > I have structured a library file with all the possible functions in it but even that is getting large. I got to the point that if I add one more if statement the program will not compile it just seems to sit there for minutes and it simply doesnt end and so wont compile and run successfully.
> >
> > Now i am adding some images to buttons after about 5 images if i try to compile it I get the following error. if i get rid of the images and add say 3 or 4 new variables again it triggers an error for too many symbols.
> >
> > I am using DBASE 11. The question is how can I increase the amount of variables or commands? is there a way perhaps to have multiple libraries or some other way to store functions and load dynamically.
> >
> > Has there been increases from dbase 11 to dbase 19 is programming size? if so, do I need to convert source code moving forward?
>
> Michael -- Break your library into parts. Put like code in one file
> (code related to a specific purpose), and then other code in another file.
>
> Use the dUFLP as an example. There's a file with just date functions,
> another with just file functions, and so on. Break things down into
> smaller files, rather than trying to cram everything into one ...
>
> Then you can call just what you need. If (using the dUFLP example) you
> don't use any date code in a specific program, you don't need to load it
> ... and so on.
>
> Ken
>
> --
> *Ken Mayer*
> Ken's dBASE Page: http://www.goldenstag.net/dbase
> The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
> dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
> dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
> dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
> dBASE DOS to Windows Tutorial:
> http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm
>



Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0