Well, ultimately I wouldn't want 1,2,3,4 and 2,3,4,1, but I could
handle whittling it down to what I need. I just can't see a good way to
generate the exhaustive list in the first place.
Cheers,
Mark
On 12 Sep 2005, at 18:36, Lynch, Jonathan wrote:
Do they have to be in order?
Would 1,4,2,3 also count?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Smith
Sent: Monday, September 12, 2005 9:34 AM
To: How to use Revolution
Subject: Little maths question
This is probably really easy, but I'm so stupid when it comes to maths
that I can't figure it out:
Given a list of any number of lines, how can I generate a list of every
possible combination of those lines ie.
1
2
3
4
would give:
1
2
3
4
1,2
1,3
1,4
2,3
2,4
3,4
1,2,3
1,3,4
2,3,4
1,2,3,4
(this is from my thick head, so may not be complete, but you get the
idea...)
Thanks,
Mark
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution