Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MAIN.PRG
Message
From
24/05/2001 17:26:32
Larry Rix
Larry Rix & Associates, Inc.
Westminster, Colorado, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00511102
Message ID:
00511229
Views:
19
While I do not have a complete understanding the intended or official use of te class, I have taken to using the ActiveDocument base class object as my sole source for creating a MAIN program. Two reasons:

1. I find that this gives me another OO based component to replace my procedural PRG code.

2. Because I am using a class instead of a PRG, there is a place to put "routine extractions" (if such a thing is needed) without having to resort to procedure libraries stored in PRG files and the like. My code can then follow more stringent OO design and implementation practices and gain those benefits for my software right from the outset.

Perhaps a third reason for using the ActiveDocument class is the you have a great place to begin adding your system class objects and deal with the management of those objects using properties and methods on the ActiveDocument class.

Regards,

Larry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform