I've developed a Powerbasic DOS program that reads a data file,
manipulates the data, prints the results to the screen and then
offers the option to print hardcopy.
Everything works great until the data file gets too large ..
When that happens the program hangs and I have to CTRL ALT DEL
to get back to a DOS window.
The data is read into a 2 dimensional string array thats
dimensioned adequately early in the the program.
What should I check first? Second? Third?
I'd also like to trim the program size by getting rid of LPRINT
code that identical to the PRINT coding. The former is only used
to allow printing hardcopy after the information has been
printed to the screen.
Can I somehow offer the hardcopy option without cycling the
program thru similar LPRINT coding? The LPRINT coding adds
greatly to the program's size, so I'd really like to try
other options.
Thanks for any ideas...
manipulates the data, prints the results to the screen and then
offers the option to print hardcopy.
Everything works great until the data file gets too large ..
When that happens the program hangs and I have to CTRL ALT DEL
to get back to a DOS window.
The data is read into a 2 dimensional string array thats
dimensioned adequately early in the the program.
What should I check first? Second? Third?
I'd also like to trim the program size by getting rid of LPRINT
code that identical to the PRINT coding. The former is only used
to allow printing hardcopy after the information has been
printed to the screen.
Can I somehow offer the hardcopy option without cycling the
program thru similar LPRINT coding? The LPRINT coding adds
greatly to the program's size, so I'd really like to try
other options.
Thanks for any ideas...
Comment