Not saying he shouldn't use the proper way to do it to write new code, but
if he's working on existing code... you know the old saying... if it ain't
broken... and if there's no speed difference... no point in fixing it. 

Russ



> -----Original Message-----
> From: Teddy Payne [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 30, 2006 12:44 PM
> To: CF-Talk
> Subject: Re: Must I Use Evaluate() Here?
> 
> Regardless of the speed factor, why not use the loop structure that was
> made
> to handle structures? *rhetorical question*
> 
> Teddy
> 
> On 8/30/06, Russ <[EMAIL PROTECTED]> wrote:
> >
> > Did we not agree that there is no speed benefit in not using evaluate?
> >
> > > -----Original Message-----
> > > From: Mingo Hagen [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, August 30, 2006 12:01 PM
> > > To: CF-Talk
> > > Subject: Re: Must I Use Evaluate() Here?
> > >
> > > stcFilters['filter_#i#'] works
> > >
> > >
> > >
> > > Sung Woo 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:251500
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