"Hei" <ch******@msn.com> schrieb
I assume, "objectA" is a class name.
dim a as objectA = new objectA
dim b as objectA
b=a ' what the thing in b? is here say b is a reference ?
a=b ' what the thing in a?
b=a:
The reference in a is copied and stored in b. After the assignment, a and b
reference the same object.
a=b:
The reference in b is copied and stored in a. Before and after the
assignment, a and b reference the same object, so the assignment is
superfluous.
--
Armin
http://www.plig.net/nnq/nquote.html http://www.netmeister.org/news/learn2quote.html