home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!src.honeywell.com!tcscs!zeta
- From: tcscs!zeta@src.honeywell.com (Gregory Youngblood)
- Newsgroups: alt.lang.basic
- Subject: Re: Advice on SUB and FUNCTIO
- Message-ID: <e2J9VB2w165w@tcscs.UUCP>
- Date: Wed, 23 Dec 92 07:47:13 CST
- References: <35.339.uupcb@filebank.cts.com>
- Reply-To: zeta%tcscs@src.honeywell.com
- Organization: TCS Consulting Services
- Lines: 38
-
- richard.vannoy@filebank.cts.com (Richard Vannoy) writes:
-
- > GY> 1. Compile a list of all FUNCTIONS and SUBROUTINES called in
- > GY> the programs.
- > GY> 2. Compile a list of all FUNCTIONS and SUBROUTINES declared in
- > GY> the programs.
- >
- > I did something similar once. This type of program would
- > compile all files, one by one, into a master text or random
- > access file which could then be sorted by function, program,
- > etc.
- >
- > Since there are so many ways to do this, like reading in all
- > the .BAS file names automatically and such improvements, I'll
- > use abbreviated or pseudo code.
-
- [pseudo-source code deleted]
- >
- > Once you get all the DECLARE, SUB and FUNCTION lines in one
- > place, along with the original files they came from, you can
- > check, manipulate and cross reference just about any way you
- > want.
-
- This works great except one of the things we need to cross reference for is
- FUNCTIONS and SUBs that are not declared. SUBs are an easy addition to your
- pseudo code, simply look for CALL, the only problem is functions. We need
- to make sure that we don't have any functions called that no longer exist.
-
- Any ideas? I've been told about a program called QBX.??? from Van Beurg, but
- calling the main BBS has yielded nothing. :( Neither has ARCHIE
-
- Greg
-
-
- .-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.
- . TCS Consulting Services P.O. Box 600008 St. Paul, MN 55106-0008 .
- . ..!srcsip!tcscs!zeta ..!src.honeywell.com!tcscs!zeta .
- .-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.
-