Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anyone still use 'Set Procedure To'?
Message
De
09/08/2007 20:25:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
09/08/2007 19:31:35
Vernon Chambers
New York City Transit
New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01247248
Message ID:
01247252
Vues:
20
I use SET PROCEDURE. I keep lots of related functions in different PRG files. Mainly two: One contains "generic" functions, which I might use in any application, and one contains functions which are so adapted to a particular application that I don't expect to use them in other applications.

>if so, why? and why not?
>
>Is it easier for you to manage?
>
>if not, what do you use instead?

As seen on this forum, some people prefer to have each function in a separate PRG file.

Another alternative is to put at least some functions into the database container. I use this only for functions that are related to the data access.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform