<cfset stcFilters.filter_1 = 100>
<cfset stcFilters.filter_2 = 200>


<cfloop collection="#stcFilters#" item="key">

<cfoutput>#key#: #stcFilters[key]#<br /></cfoutput>

</cfloop>

On 8/30/06, Sung Woo <[EMAIL PROTECTED]> wrote:
>
> I have a structure called stcFilters.  In this structure, I have the
> following values:
>
> stcFilters.filter_1 = 100
> stcFilters.filter_2 = 200
>
> I want to show the value of these filters through a cfloop:
>
> <cfloop index="i" from="1" to="2">
> <cfset temp = Evaluate("stcFilters.filter_#i#")>
> <cfoutput>#temp#</cfoutput>
> </cfloop>
>
> I can't seem to get around using the evil Evaluate -- can anyone
> help?  Much thanks.
>
> 

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