Page 1 of 1

bigger QB programs?

Posted: Tue May 05, 2009 1:11 am
by iamdenteddisk
I need a pure qb method"no libs" way to build bigger programs and the 64k limmit is bumming me out.. Anyone with an idea?

I need access to more memory and info on the chain command ,I think.
maybe a good help file you can point me to or something?

Posted: Tue May 05, 2009 11:24 am
by burger2227
CHAIN simply sends the program to another module. This allows you to make larger programs. You do not need to include the BAS or EXE extension in the call. CHAIN "Module1".

Previous screen settings are not changed!

CHAIN will look for a module name that matches the type of the calling module. You cannot CHAIN BAS to EXE! But leaving the extension off the module name saves you from having to edit the extensions before compiling.

To pass variable values, you can use COMMON SHARED lists. The lists MUST BE IDENTICAL IN ALL MODULES! You must compile with BRUN45 to use COMMON SHARED!

I prefer passing variable values with simple WRITE data files. Then you can create Stand Alone EXE modules.

Posted: Tue May 05, 2009 11:41 am
by Harry Potter
After creating Template Creator for DOS, I thought that, by separating the template database into multiple files, one each for all the templates of a file type, I could cut down the size in memory of the file type database. Try that: separate data into smaller pieces and load them from files, one at a time, rather than loading a whole database or all the information at once. Also, try keeping a few files open and load data as needed, rather than loading it all into memory. Finally, if you use DATA statements, you could try loading information from files rather than using DATA statements.

TY

Posted: Tue May 05, 2009 10:15 pm
by iamdenteddisk
Thanks guy's!!