home *** CD-ROM | disk | FTP | other *** search
- MAKEQLB.EXE
-
- Utility program contained in QuickPak Professional
- by
- Crescent Software Inc.
- 32 Seventy Acres
- West Redding. CT 06896
- (203) 438-5300
-
-
- MakeQLB will examine a program and all of its dependent modules, and create a
- new Quick Library containing only those routines that are necessary. This is
- important when the programs you develop are very large, because it eliminates
- the wasted memory taken by routines that are not used. MakeQLB also allows
- you to easily combine routines from multiple library files, without having to
- extract each individual object module.
-
- MakeQLB knows which routines are to be included by examining your main
- program for CALL statements. It also searches for DECLARE statements when
- the CALL key word is not used, or when there are functions. MakeQLB searches
- Include files to any level and the .MAK file if one is present, to account
- for all of the modules in a complete program.
-
- MakeQLB will automatically report any subprograms or functions that have been
- declared but are not being used. Of course, those routines will not be added
- to the resultant Quick Library. It will also report any subprograms and
- functions that are present but never called. As an option, you may specify a
- file that contains a list of all the routines that are to be included in the
- library, rather than having MakeQLB examine your source files. Further, the
- program will create a list file suitable for later use, so it does not have
- to examine the entire program again.
-
- MakeQLB uses an interface similar to the LINK and LIB programs, and you may
- either enter the parameters on a single line, or wait for MakeQLB to prompt
- you for them. The command line syntax is as follows:
-
- MAKEQLB mainprog|routines.lst [objname], qlbname, listfile, _
- lib1 [lib2], bqlbname
-
- Mainprog is the main BASIC program to examine, with a .BAS extension assumed.
- If a file name with a .LST extension is given, MakeQLB will instead use the
- procedure names contained in that file when creating the Quick Library.
-
- Objname is an optional parameter which can be used to specify one or more
- additional object files that are not in any of the listed libraries.
-
- Qlbname is the name of the resultant Quick Library. If the name is omitted,
- a library will be created with same name as the main program, but with a .QLB
- extension. However, you must add a delimiting comma if the qlbname parameter
- is not used.
-
- The list file that is created contains a list of all the routines names that
- are being added to the Quick Library. This file defaults to a .LST extension,
- and is in the correct format that MakeQLB requires to create a library from a
- list of procedure names. This way, if you need to add a routine or two to
- the Quick Library later on, you can simply edit the list file. Creating a
- Quick Library from a list file is of course much faster than examining an
- entire BASIC program. If the listfile parameter is omitted, the same name as
- the main program will be used, but with a .LST extension. To tell MakeQLB
- not to create a list file, use the reserved DOS name NUL for that parameter.
-
- The lib1 and lib2 parameters are library files (.LIB extension) that contain
- the procedures being added to the Quick Library. One or more library names
- may be specified, with a blank space used to delimit each name. If no
- library name is given, the name PRO.LIB is assumed.
-
- The last parameter tells MakeQLB which "bqlb" support library is to be
- specified when linking. The default name is BQLB45.LIB, which is the library
- that comes with QuickBASIC version 4.5. If you are using MakeQLB with BASIC
- 7.0 PDS you should specify QBXQLB instead.
-
- MakeQLB works by creating an object file that contains the list of procedure
- names. By establishing these procedures as External, they will be included
- in the Quick Library automatically when MakeQLB invokes LINK. The dirty work
- of extracting each routine from the various .LIB files is thus handled
- entirely by LINK.
-
- Crescent Software publishes many useful products for BASIC programmers. We
- offer general purpose tools, as well as programs for graphics, screen design,
- database management, scientific applications, and more. All products include
- complete source code, and royalties are never required. Please call or write
- for information on our entire line.
-
- We at Crescent Software have provided this program as a service to the BASIC
- programming community, and hope that you find it useful.
-