Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple procedures vs. one procedure - revisited
Message
From
10/06/2005 12:21:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01022173
Message ID:
01022197
Views:
15
>Hi everybody,
>
>I know this topic was already discussed, but I'd like to raise it up again, sorry for that. What is usually preferably - have less procedures, but longer or have more procedures with less code?
>
>In MereMortals everything which is added to the project is automatically put in SET PROCEDURE list. Do you know, if there is a way to control in which order the procedures are loaded? Is the order important?
>
>We had visCollect_cursors procedure. It was very inconvenient to work with one procedure, because we're using Visual Source Safe, so there could be only one developer working with this file at the given time, which is well, don't want to use the bad word, but don't know another term, so "PITA". Besides, it was hard to maintain. So we splited it logically and created Letters_Cursors, TQM_Cursors, etc. But now it seems to me that one form is loading slower than before and I think it might be related to the SET PROCEDURE...
>
>Would you please help me to understand, if I'm right in my suspicion and what can I do to improve the situation?
>
>Thanks in advance.

Everything added to set procedure list! Order is important, worse having multiple procedures open at same time there is no way to call a procedure from one of them selectively (I don't know at least - unless you use "do ... in ..." ). You better use classes.
PS: I don't think it's related to having set procedures but might have something to do with you're using ProcFile1-ProcA while what's intended was ProcFile3-ProcA.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform