home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / alt / lang / basic / 993 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  2.0 KB

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