Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One big procedure file vs. hundreds of small UDFs
Message
From
03/02/2002 12:45:34
 
 
To
03/02/2002 04:04:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00614343
Message ID:
00614576
Views:
17
Hi Elmer,
If you are willing to share, your modified version sounds like something I have been attempting to do also. Would you be willing to email it to me also? Thanks for your efforts in this area!
TIA,
Tracy

>Hi Nadya,
>
>I use a combination of procedure files and multiple small function files in my work. I too had and sometimes still have problems locating a function that I know that I have somewhere. There have been many times in the past that I have duplicated code and now I have multiple functions that do the esentially the same thing.
>
>Several months ago, I ran into something that may help you with this problem.
>
>Have you looked at PDM from the Download section. It is a project documentation tool that is really pretty cool and works very well. It will very quickly create a HTML document of a project. It documents databases, views, class libraries, forms and procedures. The code section lists all functions and procedures in your project in a html linked list sorted in alphabetical order. You can click on the function name and it will jump to the code to view.
>
>I run it almost every day on developing projects to use as a quick reference when I need to look into a program or class for parameter lists or to see exactly what it does and how to use it without opening it in the editor window. I have found the resulting document to be a very useful productivity boosting tool. I also consider it as a kind of quick backup of my code.
>
>If you create a dummy project that has a procedure that calls each of the functions in your utility directory (or add each file to the project manually), build the project so that the project manager includes all files that you want, run PDM on this dummy project and in about 2-3 minutes, you can have a hypertext searchable listing of all your utility programs.
>
>I have modified and extended PDM for my use to allow me to selectively document the parts of my project that I want. I use this to create an HTML database and View document that I include with my applications to provide my users with an easy way of viewing all database fields, comments, relations, views, etc.
>
>If you would like, I would be happy to send you my version of PDM. I think that you might find it useful as a possible solution to your multiple program and function files problem but no easy way to catalog or access them.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform