it's not an array at this point (all you've done is looped over the
list and output each of it's elements), so you can't.

as i said earlier (it may not have made it to the list yet... )

<cfset myArray = listToArray(itemlist) />

now you have an array

<cfoutput>#myArray[3]#</cfoutput>


On 8/23/07, nicolai bass dh <[EMAIL PROTECTED]> wrote:
> Hi Randy,
>
> thanks a lot for your fast answer.
> But now, i have the next question:
>
> What is to if i want to print out exactly one value of the array.
> For example, the third value.
>
> In PHP i can print the value out with $thisitem[3];
> How can i realise this with CF?
>
> Thanks a lot for your help
>
> Nic.
>
>
>
>
> ><cfloop index=thisItem list="#category#">
> >       #thisItem#<br>
> ></cfloop>
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286952
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