DashBoarder
New Member
- Joined
- Sep 9, 2014
- Messages
- 9
Greetings to all,
When using an Excel dictionary, and when using either the .Items or the .Keys methods to assign the dictionary's items or keys to an array, will the array always be cleared of any existing data before the assignment is made?
I'm working on a program which loops through data records, and for each record a dictionary is used to collect a unique list of phone numbers (as keys), which then gets assigned to an array. For each loop iteration, the same array is used to collect the dictionary data. I want to make sure that each time the dictionary data is assigned to the array that there are no old entries lingering within the array.
My experiments seems to indicate that indeed the array is cleared of any old data when the assignment is made - but I would like to hear from others on this matter for a more conclusive opinion, or perhaps someone could steer me to some documentation that states this unequivocally.
THANKS!!!
When using an Excel dictionary, and when using either the .Items or the .Keys methods to assign the dictionary's items or keys to an array, will the array always be cleared of any existing data before the assignment is made?
I'm working on a program which loops through data records, and for each record a dictionary is used to collect a unique list of phone numbers (as keys), which then gets assigned to an array. For each loop iteration, the same array is used to collect the dictionary data. I want to make sure that each time the dictionary data is assigned to the array that there are no old entries lingering within the array.
My experiments seems to indicate that indeed the array is cleared of any old data when the assignment is made - but I would like to hear from others on this matter for a more conclusive opinion, or perhaps someone could steer me to some documentation that states this unequivocally.
THANKS!!!