yikes, your correct - my bad. I don't normally do that kind of thing
anyway  - I am more of an array and struct guy.

I should have just kept my mouth shut :-/

*feeling like a dink*

On Wed, 2004-02-18 at 08:32, Barney Boisvert wrote:
> That only works in assignment, because that's the only place it's an Lvalue.
> Other than that, everything is always an Rvalue, which CF doesn't do
> evaluation of (for obvious reasons).  What you're saying is "is the string
> 'hours_period_1_#id#' equal to the string "20", which is certainly valid,
> but definitely not what was intended.
>
> Cheers,
> barneyb
>
> > -----Original Message-----
> > From: Rob Rohan [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, February 18, 2004 8:27 AM
> > To: CF-Talk
> > Subject: Re: CFIF and the Evaluate function
> >
> > On Wed, 2004-02-18 at 08:19, Wurst, Keith D. wrote:
> > > Hey everyone. I am working within a cfloop and a need to
> > perform a cfif.
> > > here is what my code looks like
> > >  
> > > <cfloop list="#list#" index="id" >
> > >  <cfif hours_period_1_#id# eq "20">
> > >   xxxx
> > >  </cfif>
> > > </cfloop>
> >
> > I have never seen left hand evaluation in any language aside from cold
> > fusion -
> > try:
> > <cfloop list="#list#" index="id" >
> >  <cfif "hours_period_1_#id#" eq "20">
> >  xxxx
> >  </cfif>
> > </cfloop>
> >
> > I thought it was pretty cool when I saw you could do that.
> > But you might
> > want to use a structure instead - just my opinion.
> >
> > --
> > Vale,
> > Rob
> >
> > Luxuria immodica insaniam creat.
> > Sanam formam viatae conservate!
> >
> > http://www.rohanclan.com
> > http://treebeard.sourceforge.net
> > http://ashpool.sourceforge.net
> >
> >
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to