Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What happens to 'set procedures' when switching forms?
Message
From
27/06/1999 13:44:01
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
27/06/1999 10:36:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00234486
Message ID:
00234524
Views:
31
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform