Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedures and classlib
Message
De
28/10/2004 11:27:24
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
 
 
À
28/10/2004 10:54:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00955296
Message ID:
00955328
Vues:
23
>Hello guyes,
>I have a question pertaining to application development. In your opinion is it better to set up your procedure files and classlib in your main application startup program or set them when needed.
>
>I.E.
>procedure Main()
> Set procedure to myprocs additive
> Set Classlib to myclass additive
>endproc
>
>or
>
>Procedure WhenNeeded()
> Set procedure to myprocs additive
> Set Classlib to myclass additive
> usethem()
> Release procedure myprocs
> Release Classlib myclass
>
>endproc


Patrick,

My preference is to set them all at the start. I'm currently working with some legacy code that doesn't do that and it makes maintenance a challenge. Of course, it's also complicated by a number of procedure files that have duplicate and almost duplicate procedures.

Regards,
Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform