Recently I have been using the dictionary object to make arrays with unique values only by taking advantage of the .exists
method which is simpler than writing a loop through the entire array every time to see if a value exists. Then I get the final array by using the .keys
method.
Given that the dictionary object requires a definition for each key, I have gone back and forth on what to set as the definition. Originally I was setting each key's definition to the vbempty
constant since I have no use for it anyways. But would the best practice here be to use a Null
value because it would take up less memory?