okay, dug through my code to find where i did this. had it wrong sorry should be <cfset outval = #evaluate(foo)#>
Then output it. Rob On Wed, Sep 24, 2008 at 5:16 PM, Derek Hedstrom <[EMAIL PROTECTED]>wrote: > Adrian, > > I tried: > <cfoutput> > #Evaluate(bar.content)# > </cfoutput> > > This gives the error I posted below. > > Changing only the line Evaluate() is on, I have tried: > #Evaluate(#bar.content#)# <== very odd error, no luck > Evaluate(#bar.content#) <== no luck > > Rob, > I also tried your cfset version, placing your code above the > <cfoutput> block, but this gives me the exact same error as below. > > Grr! I am just poking in the dark now. How is this supposed to work? > The documentation leads me to think that Evaluate() is only used in > string expressions. > > derekhed > > On Sep 24, 2008, at 12:59 PM, Adrian Lynch wrote: > > > Does Evaluate(bar.content) work? > > > > Adrian > > > > -----Original Message----- > > From: Derek Hedstrom [mailto:[EMAIL PROTECTED] > > Sent: 24 September 2008 21:54 > > To: CF-Newbie > > Subject: Re: Outputting a variable in a variable > > > > > > I am having trouble with Evaluate(). > > > > The first line of my page's content is: > > <H3>Big Fat Section Header</H3> > > > > I get an error when using Evaluate(): > > Invalid CFML construct found on line 1 at column 1. > > ColdFusion was looking at the following text: > > > > < > > > > The CFML compiler was processing: > > > > < marks the beginning of a ColdFusion tag.Did you mean LT or > > LTE? > > > > How do I get Evaluate() to work? > > > > derekhed > > =========== > "I am pentium of borg, division is futile, you will be approximated." > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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-Newbie/message.cfm/messageid:4015 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
