Contents of the WEISSFUN.DOC file
387 Spring Valley Rd.
Paramus, NJ 07652
October 3, 1989 (Utilities)
October 16, 1989 (rev)
Purpose: A fast utility for breaking out the SUBroutines and
FUNCTIONS in QuickBasic source code. For use in merging with future
new programs without "reinventing the wheel" each time.
Format: WEISSFUN [filename]
Remarks: WEISSFUN will open the file (.BAS extension is assumed) and
scan through it for SUB or FUNCTION keywords. It will then isolate these
and create a new file consisting of just the source code contained in the
sub or function. The file name is derived from the first eight letters of
the sub or function name, and has the extension .SUB. The original source
code is NOT MODIFIED, merely scanned. Pressing ENTER with no file name
specified will cancel.
Please note that no error trapping is used so you must have both
the source code (in pure ASCII format) and WEISSFUN in the same directory.
Any disk or file reading errors will return you to DOS, but will cause no
damage to the source code!!!
NOTE: This program was written in QB4.00b and linked with special assembler
routines for speed and compactness. The included source code can be changed
to run without these extra features.