Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why '::'?
Message
 
To
25/04/2000 22:48:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00363407
Message ID:
00363482
Views:
19
>I consider the use of "::" as the equivalent of a GOTO command - a sign of a questionable design. Are there any circumstances where it legitimately needs to be used?

Al,

Well VFP 3.0 for one, because there was no DoDefault() function. In VFP 5.0 the DoDefault had problems that caused many folks to use the scope resolution operator instead.

The only time I have any problem with the use of the :: operator is when a level of subclass is being bypassed, that is an indication of a problem with the class heirarchy.
Previous
Reply
Map
View

Click here to load this message in the networking platform