hihi.. anyone can help me..??

given a list of numbers,
eg: 1,2 ,3, 4 ,5 ,6 ,7 ,8 ,9 ,10

the quantity of numbers in each group..
eg: 6

i suppose to output a list of grouping  something like this
eg:

1,2,3,4,5,6
1,2,3,4,5,7
:
:
1,2,3,4,5,10
1,3,4,5,6,7
1,3,4,5,6,8
:
1,3,4,5,6,10
:
:
1,6,7,8,9,10
2,3,4,5,6,7
:
2,6,7,8,9,10
3,4,5,6,7,8
:
:
:
5,6,7,8,9,10



Numbers in each grp shld be in ASC order..
There will be no repeating of numbers in each group.  
tried to do it with nested cfloop and list functions... but still cant get it... :(


please show me some light if u r able to get it.. :)
mail me direct, please ...;p


thanx in advance... ;)
han
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to