Article View: alt.lang.basic
Article #387Advice on SUB and FUNCTION management in MSBasic 7.0(7.1)
From: Gregory Youngblood
Date: Wed, 16 Dec 1992 03:14
Date: Wed, 16 Dec 1992 03:14
51 lines
2883 bytes
2883 bytes
I am in need of some advice. I've recently started a job at a company that
uses Microsoft Basic Professional Development System 7.0, or 7.1 for their
applications.
I am now in charge of reorganizing, indexing and cross referencing all the
procedures and functions in the code. There is approximately 4 to 8 megs
of code to weed through. I have to do the following:
1. Compile a list of all FUNCTIONS and SUBROUTINES called in
the programs.
2. Compile a list of all FUNCTIONS and SUBROUTINES declared in
the programs.
I need to be able to determine what program calls which routine. These
are all going to be in a library and I have to make sure that there are
no functions or subroutines called that were removed as obsolete.
I need to make sure there is a subroutine or function call for each one
declared. That there is one declared for every one that is called.
Is there any way to make the compiler or linker display this information in
some manner that I can then use to create this list? Or are there any
software packages either commercial or shareware/public domain that will do
what I am needing to do? There has to be something available for library
and code management for MS Basic.
This is a very serious application, with shared libraries and special
libraries for the various sections within the application.
Can someone with more experience with managing large basic libraries point
me in the right direction? I've done some minor stuff, but not like this..
I am not looking forward to digging through and doing all this by hand. That
would be quite time consuming, more so that I really care to do.
Thanks in advance for any help you might be able to offer.
Greg
Programming in basic is not as easy as a lot of people make it seem. Sure it
is easy for quick little programs and some more advanced stuff. I had never
seen anything like what I'm working on now in basic before. This basic
compiler is as powerful as C or Pascal and a lot easier in many respects.
It just takes more care to keep things tidy and straight so things to get
out of hand.
.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.
. TCS Consulting Services P.O. Box 600008 St. Paul, MN 55106-0008 .
. ..!srcsip!tcscs!zeta ..!src.honeywell.com!tcscs!zeta .
.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.
Technical Details
Message-ID:
<42RuVB1w165w@tcscs.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!src.honeywell.com!tcscs!zetaShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!src.honeywell.com!tcscs!zeta From: tcscs!zeta@src.honeywell.com (Gregory Youngblood) Newsgroups: alt.lang.basic Subject: Advice on SUB and FUNCTION management in MSBasic 7.0(7.1) Message-ID: <42RuVB1w165w@tcscs.UUCP> Date: Tue, 15 Dec 92 21:14:02 CST Reply-To: zeta%tcscs@src.honeywell.com Organization: TCS Consulting Services Lines: 51