Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to copy an Empty object to another one by value?
Message
From
01/06/2006 04:52:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to copy an Empty object to another one by value?
Miscellaneous
Thread ID:
01126400
Message ID:
01126400
Views:
71
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
Next
Reply
Map
View

Click here to load this message in the networking platform