Post by JASPost by Geoff Wass [dBVIPS]How big is big? It likely is one line is too big, not the whole
program. Do you use ; a lot to continue lines? If so, check those
out.
The main wfm is 16K lines+ and results in an .exe of 2.8Mb. Yes
there are some long lines - will check them out and see if that
solves the problem.
As Geoff said, 16.000 lines should not cause a *technical* problem.
But I really wonder *why* you might be working with such a true monster.
And I wonder *how* you might be able to work coding such masses in one
file.
Apart from the technical problem you are facing at present, it is my
urgent recommendation to think about the basic design of your
application and to change the basic construction.
Even in the old procedural days one would not follow an
"all-in-one-sack" principle.
The more in the days of OOP.
Proper design does mean to work with classes and make use of inheritance
by sub-classes. And one would not put all of the classes in just one
file.
Having huge files with tons of lines might have been appropriate in the
days BASIC. It might have been possible in COBOL and FORTRAN.
But in a OOP language one should not work this way.
Just my 2 cents
Rainald