Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedure or Class - What are the Benefits
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00740837
Message ID:
00740881
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform