Hi,

I have a 'little' problem in thinking right at the moment...
what I'm trying to do is the following:
I have for example an array with 8 numbers - I'm keeping it easy, in the end, the array has to contain up to 49 numbers - and now I want to make combinations existing every time out of 6 numbers :
so what I want is
1 2 3 4 5 6
1 2 3 4 5 7
1 2 3 4 5 8
1 3 4 5 6 7
1 3 5 6 7 8
and so on (and to a lot of combo's when using bigger array's) ...

AND doesn't repeat the same number in a combination eg.1-1-3-4-5 where you see the '1' twice in it and i don't want to have a identical line eg 10 12 11 13 15 17, 11 10 12 13 15 17
where u can see that its a identical line but the position of the number is changed.

if anyone has written ever something like that, code would be soooo usefull - or if you know a script like this ... plz post it or any ideas how to bring this to a good end ... all good, cause I'm a bit stuck at the moment in my thinking :/