Yes, it is a tournament ranking, with ratings available between a-e, and u 
(unrated).

I am storing the number of each rating, so A 5, B 2, C 0, etc (with no commas) 
and then passing that info on to a CFC that takes the total number of people in 
the event, plus the number in each rating, and does some calculations on them.

The problem I'm having is that if there are 2 different groups, how to get each 
one to have its own set of rating info and total number of people.

So, group 1 is always going to be there, and will have the A-E & U ratings, 
number of each, and total number of participants, but if there is another group 
(determined by url variable, how to loop over the entire array again, assigning 
those same array options A-E & U ratings, number of each rating, and total 
number of participants, send that to the .CFC and have it calculated out with a 
different result to be displayed......

Hope that helps with what I'm trying to do.

> >Array of array was the intent
> 
> A two-dimensional array?
> 
> That would just have two levels:
> ArrayName[x][y]
> 
> 
> What you've done is this:
> ArrayName[x][y][z]
> 
> Which is a three-dimensional array - or, in this case, since you've 
> told CF you want a two-dimensional array, CF assumes the third level 
> is a structure, hence your odd results.
> 
> 
> (NOTE: You do not need most of those hashes - only hashes within 
> cfloop to/list and cfinvokeargument value attributes serve any purpose 
> here.)
> 
> 
> Maybe you could give a little more information on what problem you're 
> trying to solve (some sort of tournament ranking?) and what your 
> expected output might look like?
> 
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314113
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