Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why '::'?
Message
 
To
25/04/2000 21:16:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00363407
Message ID:
00363412
Views:
16
>Hi
>
>I just wanted to know why place like West Wind and Flash
>use the following;
>
>OBJECT::Method it indicate a method and not
>OBJECT.Method?
>
>TIA
>
>Mal

Because they are calling the object's parent class method.
:: is a scope resolution operator.
From VF Help:
The :: operator is used to execute a parent class method from within a subclass method. When you create a subclass, the subclass methods are automatically inherited from the parent class. The :: operator lets you execute the parent class method in the subclass method and then perform additional processing for the subclass method.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform