Thread View: alt.lang.basic
3 messages
3 total messages
Started by Marian Buszko
Tue, 04 Aug 1992 01:58
Qbasic file size problems
Author: Marian Buszko
Date: Tue, 04 Aug 1992 01:58
Date: Tue, 04 Aug 1992 01:58
12 lines
755 bytes
755 bytes
I have seemed to have been having a problem with file size after linking my files and putting them into exe form. I need suggestions on how I can keep this file size down. Thanx. matts@lobo.rmhs.colorado.edu /\/\att _ (_ _) aunders --------> :o .
Re: Qbasic file size problems
Author: z_harbergt
Date: Tue, 04 Aug 1992 15:29
Date: Tue, 04 Aug 1992 15:29
28 lines
2043 bytes
2043 bytes
In article <Aug04.015812.50959@yuma.ACNS.ColoState.EDU>, marian@lamar.ColoState.EDU (Marian Buszko) writes:
> I have seemed to have been having a problem with file size after
> linking my files and putting them into exe form. I need suggestions
> on how I can keep this file size down. Thanx.
>
> matts@lobo.rmhs.colorado.edu
Probably the most often heard complaint against QuickBASIC is execuatable
size. Since most of use want our exe's to go alone we choose not to use
BRUN45 and link with BCOM45 instead. This choice is costly though. The
problem is that of granularity. The BCOM45 library adds a lot of unneeded
code to your exe's. Without getting to deep, the solutions are:
1) Use assembly language libraries as much as possible. A good choice
here on the Net is Tom Hanlin's PBClone available at SIMTEL20.
2) Buy and read Ethan Winer's _BASIC_Techniques_and_Utilities_; this
is a "must" book for any serious QB programmer. Mr. Winer explains
the problem and the solutions much better than I.
3) Buy Cresent Software's PDQ - a replacement link library for BCOM45.
Mr. Winer and his staff have written their own link library and
made significant improvements in granurity without much sacrific.
The cheapest of these three is Mr. Winer's book at $22, then Hanlin's
Library at $25. PDQ will set you back $115. I hope this helps...
Greg Harber InterNet: z_harbergt@ccsvax.sfasu.edu
Stephen F. Austin State University "Deep in the Pine Smog"
"I endorse the above products but they do not endorse me."
Re: Qbasic file size problems
Author: Phillip Cooper
Date: Wed, 05 Aug 1992 15:52
Date: Wed, 05 Aug 1992 15:52
18 lines
1237 bytes
1237 bytes
In article <Aug04.015812.50959@yuma.ACNS.ColoState.EDU> marian@lamar.ColoState.EDU (Marian Buszko) writes: > I have seemed to have been having a problem with file size after > linking my files and putting them into exe form. I need suggestions > on how I can keep this file size down. Thanx. > I assume you are actually asking about QuickBasic, rather than QBasic, since QBasic is unable to produce EXE files. They are actually two completely different products. That being said, I'm not sure I understand your problem. It is quite possible to create QuickBasic programs that are several hundred K in size. I work with QB4.5 programs in the 3-400K size all the time. There is a strict limit of 64K of compiled code per module (or .BAS file) but you can have many, many modules per program. Just compile each of them seperately and link them all together. Phil
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads