Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#DEFINE problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01194874
Message ID:
01195214
Views:
16
>Generally that is what I do. I preface the names with g so I know they are global.
>
>Rather than ..
>
>_application.addproperty("MAXRXS") (one command per property)
>
>I use
>
>public giMAXRXS (and can declare several variables in one command)
>
>public variables have global scope. _application properties have application scope.
>
>I'm lazy - I like less typing. The OOP way is elegant but not necessarily better IMO.

The less global variables you use in the application, the better. There were lots of threads on the topic in the past, I can search a few, if you'd like.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform