Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What happens to 'set procedures' when switching forms?
Message
De
27/06/1999 13:44:01
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
27/06/1999 10:36:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00234486
Message ID:
00234524
Vues:
32
I've mentioned this one many times. Don't use a procedure file. Make each procedure or function a seperate .PRG. Don't start each .PRG with PROCEDURE . That's just redundant and causes more performance problems. Sure you will end up with more entries in your project manager, and that might cause some performance problem using VSS, but I think the benefits outweigh the problems. While you are working, there might be a slight delay while VFP searches the directory for the file, but you will have ultimate flexability and when you finally make a .APP or .EXE the negligible performance problem will go away. Caching will also reduce this. Further, there is a performance hit just saying SET PROCEDURE TO. And there are performance hits with recompiling one large procedure file just so you can change a few lines of code.

I've been doing it for years. I had to prove it to some VFP people once, but old habits die hard.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform