Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compare Object
Message
 
To
24/02/1999 13:47:23
Bob Lucas
The WordWare Agency
Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00190373
Message ID:
00191079
Views:
18
>Your combobjs function will return the same result as the = operator (in VFP 6.0 only!)

Bob,

The CompObj function will not return exactly the same result as the = sign in VFP6. Here's where the difference will occur;
lObj1 = Createobject("Myclass")
lObj2 = CreateObject("MyClass")
? lobj1 = lobj2 && says not they are the same object
? CompObj(lobj1,lobj2) && says they are equal because they have the same
                       && set of properties and methods and the the properties
                       && all have the same values.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform