Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedures and classlib
Message
From
28/10/2004 11:27:24
 
 
To
28/10/2004 10:54:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00955296
Message ID:
00955328
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform