|Do you know where your variables are?|
Re: a list of functions within a pmby mikfire (Deacon)
|on Jul 19, 2001 at 23:09 UTC||Need Help??|
I am not exactly sure how you want this list displayed, but
the attached code is one I have used before to accomplish
a similar job.
It expects the name of the file to be searched as the only command line parameter. It will also skip any subroutine whose name begins with an underscore - as I said, this is ripped from a larger program ( the second toy ) doing something similar.
I also cause it to print the line number where the sub definition begins.
Update: Do NOT use Opera for Solaris when submitting - it seems to add a whole lot of newlines. Sorry for the mess.