>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only