Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compare Object
Message
 
À
24/02/1999 13:47:23
Bob Lucas
The WordWare Agency
Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00190373
Message ID:
00191079
Vues:
20
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform