Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MESSAGEBOX
Message
De
04/05/2000 11:14:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00365597
Message ID:
00366115
Vues:
19
George, everyone,

Ok, after all the dust has settled where do we stand on this?

I can see benefits for both sides and problems for both sides.

It seems to me that one of the driving forces behind defining constants is that they will be, well, constant. <g> In other words, across all of your applications the defined values will be the same. Less chance of oggfs.

However, with VFP we have to remember to put those constant declarations everywhere we need them so in this case I'm trading one kind of remembering for another.

What I would do is define my constants and place them into my oSys object, which as it is passed around makes the DEFINE values & names available for every routine.

What about creating an oDEFINE object? Does this create more trouble than it solves?

Best,

DD
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform