|
-
Jan 14th, 2004, 08:04 PM
#1
Thread Starter
Junior Member
compare UDT
HI everyone
I have two instance of a UDT (user defined type) that I need to compare. The UDT contains variable-length strings, longs, integers, singles, and booleans, altogether about 50 data members.
I need to compare the two and determine if any data members have different values. If any data member is different, I need the name of the data member and the values.
I could write if statements to access each member and compare it, but doing that 50 times is pretty cumbersome. Is there a more elegant method?
I'm running VB6.
suggestions are apprecaited
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
|