Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to copy an Empty object to another one by value?
Message
De
01/06/2006 04:52:13
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to copy an Empty object to another one by value?
Divers
Thread ID:
01126400
Message ID:
01126400
Vues:
68
Weird,the outcome is always by reference...
SET UDFPARMS TO VALUE
CREATE CURSOR  tmp (a c(10),b c(10))
INSERT INTO tmp values("aaaaa","bbbbb")
SCATTER MEMO  name otmp ADDITIVE
?otmp.a  && showing "aaaaa"
otmp2=otmp
?otmp2.a && showing "aaaaa"
otmp.a="11111"
?otmp2.a && showing "11111"  ?!
otmp2.a="22222"
?otmp.a  && showing "22222" ?!
Steven
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform