🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Gregory Youngblood Wed, 16 Dec 1992 03:14
Advice on SUB and FUNCTION management in MSBasic 7.0(7.1)
#387
Author: Gregory Youngblood
Date: Wed, 16 Dec 1992 03:14
51 lines
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    .
.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.
Re: Advice on SUB and FUNCTION management in MSBasic 7.0(7.1)
#388
Author: richard g. adair
Date: Wed, 16 Dec 1992 05:55
21 lines
1513 bytes
In article <42RuVB1w165w@tcscs.UUCP> zeta%tcscs@src.honeywell.com writes:
>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:

You might invest $60 or so in Crescent's cross referencing tool,
XREF.  This goes through your source code and does a cross reference
on any of several levels that you specify.  It will even compile a
variable usage list.  

I'm not sure if it will be able to munch on 4 to 8 MB of code.
Crescent has moved from Stamford, CT, to Ridgefield,CT, and I don';t
have their new number.  Call(203) information and ask for the
number.  They offer excellent support, and you could probably even
talk to the code's author to ask if XREF can handle your problem.

cheers.
Re: Advice on SUB and FUNCTION management in MSBasic 7.0(7.1)
#393
Author: Fred Freeland
Date: Wed, 16 Dec 1992 21:34
21 lines
1874 bytes
In article <42RuVB1w165w@tcscs.UUCP> zeta%tcscs@src.honeywell.com writes:
>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.  

Vernon Buerg once had a shareware product called QBXREF that would probably
do what you want to do.  The last version I saw was 3.00a dated sometime in
1987, but very usable with BC 7.0 or 7.1 source code.  I have no idea
where you could get a copy but I suspect that one of the archive sites
has it around. Good luck.  I hope you find what you need.




-- 
Frederick F. Freeland Jr.                        "Of all the things I've lost,  Microsoft Corporation                               I miss my mind the most!"   One Microsoft Way  
Redmond, WA 98052 (206) 882-8080                                                                                                                                internet: fredf@microsoft.com                                                   arpanet:  fredf%microsoft@uw-beaver.ARPA
uucp:     uunet!microsoft!fredf                                                                                                                                 Opinions expressed over this signature are my OWN and not those of my employer! 
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