Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedures in prg files and performance
Message
From
12/11/1999 13:07:25
 
 
To
12/11/1999 08:51:34
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00290532
Message ID:
00290651
Views:
19
>Hi,
>
>I have some code common to more than one form, that I put in procedures in a prg file. I call these procedure in the forms
>
>do proc1 in procfile with....
>
>But the performance seems to decrease a lot. I know I can put these into a class and drop that class into the forms. How does that compare to calling procs, peformance wise.
>
>Thanx
>Gnana

There is a known performance issue with procedures in prg files whose names are the same as the prg. IOW- If you only have one proc per prg, don't wrap it in PROCEDURE/ENDPROC, and if you have more than one proc per prg, don't give any of them the same name as the prg.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform