05-04-2010 10:16 AM
I want to ask how to convert a variant array automatically.
I had treated this problem manually by now.
1. a (int)
2. b(string)
3. c(path)
Let's assume these 3 elements with different data types are always necessary all together.
I think this may be managed by single type-def control of cluster or two arrays of string and enum.
By input of 3 elements, I got a variant array (3 variant) from some functions.
Have you a simple idea for converting the variant array to original data (arrays or cluser?) automatically by using iterative loop such as for or while?
05-04-2010 10:23 AM
Take a look at Shane's Nugget on "Function Overloading" for hints as to how he handled it.
Preview of that nugget
...
...
Ben