Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#DEFINE problem
Message
 
To
13/02/2007 14:06:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01194874
Message ID:
01195311
Views:
13
>
>I will give you a few advantages.
>
>One is the ease of clearing the memvars. All "global" variables which are logically a group can be tied to one object, once you release this object, all the memvars are gone. The alternative with global variables is to use a common naming naming convention, and clear the relevant variables with the syntax "Rele all like gGroup*" or something similar.
>
>Another advantage is the ease of debugging. In the locals window, the "memvar" object shows as an object, and can easily be checked by opening it, and it will show as a group.
>
>The there's Intellisense. Type the name of the object and a period, and all the properties will show.

AHA! Now I see 2 out of 3 lights!

I don't think I've ever had a situation to clear all global variables at once, so that doesn't do anything for me (not yet anyway).

I LIKE the debugging advantage. That can be VERY handy when I have a bunch of global variables. That's enough for me to switch.

Intellisense is a big advantage too. That can save me from a lot of lysdexic mistakes.

I'm not too old to learn!

Of course by learning something new I'll forget several other things... :(
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform