Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application object
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00163769
Message ID:
00163885
Views:
19
>A note of clearification. My MAIN.PRG contains all the general stuff used in everything we create and the XXPROC.PRG contains the app spicific stuff.

John,

I do just the opposite. A tiny prog named ??main.prg does little but declare some DLLs and create the app object. Any other procedure is in a general function program that contains only functions of general application. Any functions specific to the app are in methods somewhere. Many ways to skin this cat....

I do remember a little while ago a big debate on whether procedure code should be eliminated completely in an OOP environment. But I feel that one of the strengths of VFP compared to the pure OOP languages is that procedure code is still allowed. It is still sometimes the best way to encapsulate general functionality.

I'll probably have to look out for the OOPs police, now! :)

regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform