Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Procedure To
Message
From
23/05/1996 13:02:49
John Wenger
Clear Sky Computer Company
Lowell, Michigan, United States
 
 
To
23/05/1996 08:41:19
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00001579
Message ID:
00001590
Views:
51
>In the July issue of Foxpro Advisor (p. 30), Mac
>Rubel makes the statement that "the need for a
>procedure file disappeared". He later goes on to
>say that it is no longer necessary to use SET
>PROCEDURE TO in order to access routines which are
>not in the active PRG file or in the Thread of
>calling PRG files . This has not been my
>experience. Am I missing something ?

If you use OOP the procedures are now methods in your class library. Whenever you subclass the methods are inherited.

Note: This is only true if you redesign your application to be entirely object oriented. Your not missing something if you choose to keep some of your code in a procedure file. Having all the routines in one place makes it worthwhile.

What you lose is encapsulation. ie: Outside components are required (the procedure file) for any objects that have SET PROCEDURE TO in them.

I'm still learning OOP so PLEASE correct me if I'm wrong about any of this.

Hope This Helps,

John
Clear Sky Computer Company
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform