no, the only really incorrect way to use evaluate is: #Evaluate(Form.UserEntry)#
:) > -----Original Message----- > From: Pete Freitag [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 20, 2002 14:16 > To: CF-Talk > Subject: RE: Invalid parser construct eror > > > You are using Evaluate incorrectly. Evaluate is for getting > the value of a > dynamic variable name, not for evaluating math, you can do that with > CFSET... > > <cfset sum = SumTotals.RegTotal + SumTotals.OTTotal> > > Here's an example of how you might use Evaluate()... > <cfset x = "value"> > <cfset var = "x"> > <cfset y = Evaluate(var)> > > Now y = "value" > > +++++++++++++++++++++++++++++++++++++++++++++ > Pete Freitag ([EMAIL PROTECTED]) > CTO, CFDEV.COM > ColdFusion Developer Resources > http://www.cfdev.com/ > > > -----Original Message----- > From: Angel Stewart [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 20, 2002 5:00 PM > To: CF-Talk > Subject: Invalid parser construct eror > > > Hey all, > > Is there any reason why this error would occur with the > following code? > > An error occurred while evaluating the expression: > > > #Evaluate('#SumTotals.RegTotal# + #SumTotals.OTTotal#')# > > > > Error near line 303, column 185. > -------------------------------------------------------------- > ---------- > -------- > > An error has occurred while processing the expression: > > 88 + .5 > > > Invalid parser construct found on line 1 at position 6. ColdFusion was > looking at the following text: > > . > > ------------------------------------ > > IS there a problem with my evaluate statement? > > -Gel > > ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

