Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comparing objects
Message
 
To
06/08/1998 01:04:38
Chrita Lee
ProMOS Technology Inc.
Hsinchu, Taiwan
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00124254
Message ID:
00124380
Views:
19
>Don't we have a function called CompObj()? And the Tamar's hackers' guide has some tips and tracks when using this functions.
>
>Chris Lee

Chris,

yes ther is afunction named CompObj() but it does tell if the two object reference point to the same object. It only tells you that all of the property values or the two object have the same values. That could cause a problem by saying that two objects are the same when in fact they aren't.

Thats is why my suggestion first comapre the names of teh two object adn then the names of each one's parent object. If they have the same name and they in the same container then they must be the same object. VFP would bark up a storm if we tried to put two object with the same name in the same container.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform