Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MESSAGEBOX
Message
From
04/05/2000 11:14:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00365597
Message ID:
00366115
Views:
20
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform