|
-
October 18th, 2001, 08:10 AM
#1
Copy User defined type
Hello, i have got an user defined type and would like to copy it into another type. I would like to have a copy and not a reference! Has anybody got a solution?
Type Address1
Name
Age
End Type
Dim Address1 As Address
Dim Address2 As Address
Address1.Name = A
Address1.Age = 2
Address2=Address1
If I now change the name of Address2 the name of Address1 changes, too (byref).
I would like to have a copy!
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|