Wait a minute, even the different lists Ian gave as examples in the original 
post don't match up ---

In the letters one, the third to last and the last letter groups are both 
"BCA".

But in the numbers one, the third to last is "8 0 16" while the last is "16 
0 8".

So something is amiss in one or the other of those lists.

I agree this will be very tough as there is little apparent pattern in the 
lists.

I am curious as to why you need to do this?

-- Josh



----- Original Message ----- 
From: "Bobby Hartsfield" <[EMAIL PROTECTED]>
To: "CF-Talk" <cf-talk@houseoffusion.com>
Sent: Monday, November 27, 2006 2:20 PM
Subject: RE: Challenging Loop problem.


>I should have paid a little more attention. I didn't see the order
> requirement. I see no rhyme or reason to the order of what you want to
> generate though. Is there any?
>
> What I posted would generate something closer to...
>
> AAA, AAB, AAC, ABA, ABB, ABC, etc...
>
> ..:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
>
>
>
> -----Original Message-----
> From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 27, 2006 5:09 PM
> To: CF-Talk
> Subject: RE: Challenging Loop problem.
>
> <cfset thelist = "a,b,c" />
> <cfoutput>
> <cfloop list="#thelist#" index="a">
> <cfloop list="#thelist#" index="b">
>  <cfloop list="#thelist#" index="c">
> #a##b##c#
>  </cfloop>
> </cfloop>
> </cfloop>
> </cfoutput>
>
>
> ...:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
>
>
>
>
>
> -----Original Message-----
> From: Ian Skinner [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 27, 2006 4:34 PM
> To: CF-Talk
> Subject: Challenging Loop problem.
>
> Say I have the following values: A,B,C
> How could I programically create the following list in this order?
> ACC,ABC,AAC,BAC,CAC,CAB,CAA,CBA,CCA,BCA,ACA,BCA
>
> Or the same thing with the numbers 0,8,16:
> 16 0 0,16 8 0,16 16 0,8 16 0,0 16 0,0 16 8,0 16 16,0 8 16,0 0 16,8 0 16,16 
> 0
> 16,16 0 8
>
>
> Now do the same thing, but with any number of values between 1 and 16.
> IE. AB(0 16), ABC(0 8 16), ABCDE(0,4,8,12,16)
>
>
> I don't even have a clue on how to start.
>
>
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
> ---------
> | 1 |   |
> ---------  Binary Soduko
> |   |   |
> ---------
>
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
>
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
>
>
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261793
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to