array permutation / combination
Has anyone used all permuations / combinations of
an array (order) (that you dont know the size or contents of during programming time - ?) (yes for testing purposes)
I have found the below examples (from assorted VB sites) but Im having problems with out of range and some collection declarations.
If any has code that calls a sub/function that does it (with an example that calls it and uses it) - It would be greatly appreciated.
How greatly ?
If you do once I evolve into a higher being, I will find your current incarnation of your soul, and grant you three wishes
(but their are limitations - rules and conditions
- cant bring back the dead
- make people fall in love with you
- and no wishing for more wishes.)
Im sure others have needed this too.
Re: array permutation / combination
Try using dynamic arrays, see ReDim in the QTP help file.