>>You should be able to loop through the arguments array:
>>
>><cfset a = arrayNew(1) />
>><cfloop index="i" from="1" to="#arrayLen(arguments)#">
>>      <cfset arrayAppend(a, arguments[1]) />
>></cfloop>
>>
>><cfdump var="#a#" />
>
>Nope, that gives values not names (assuming 1 -> i)
>
>Also, it doesn't come out in the same order each time.
>
>It *should* since arrays are supposed to be ordered, but in my version of
>CF the values are switching around each refresh.

Structures have no explicit order--so you can't expect them to come back in
any specific order.

Why do you need the keys to be in order anyway?

-Dan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:313151
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