Array combination with classic asp

how can i create different combination by using array elements? *
Dim arr(4) arr(0)="a" arr(1)="b" arr(2)="c" arr(3)="d"\[code\]for example: with 3 element[a,b,c], [a,b,d], [a,c,d], [b,c,d]for example: with 2 element[a,b], [a,c], [a,d], [b,c], [b,d], [c,d]i need a function i can sen array and combination length likefunction Combo(arr,combo_length)i try to make like :for for forcan you help me?*\[/code\]
 
Back
Top