Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00163769
Message ID:
00163885
Vues:
23
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform