Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedure or Class - What are the Benefits
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00740837
Message ID:
00740881
Views:
17
David,

I already have a 'set procedure' in my startup program for other utility functions.
Do you think I should set each up in its own .prg and do away with the 'set procedure' entirely.
If so, why?

>Allan,
>
>>I have a simple procedure which I have placed in a procedure library which, based upon a parameter passed, will delete all files from a directory with that filename and the various extensions (dbf, cdx, etc).
>
>I would put the function inside it's own .PRG file. This makes it a lot easier to use, you can just simple call it without any SET PROCEDURE needed at all. The VFP project will pull the PRG into the project the first time it finds a reference to the function.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform