But my code demonstrated the values of the variables using CFOUTPUT Their values are 51 & 50.
Then on the next line how could they change? I guess I wasn't clear. Here is my exact code: =============================== <cfoutput> #VARIABLES.start# <br> #REQUEST.LISTINGS.MAXROWS# </cfoutput> <cfset variables.end = variables.start + request.listings.maxrows - 1> =============================== The output statement above demonstrates that variables.start=51 and request.listings.maxrows=50 right before these two variables are used in the CFSET Why the error? best, paul At 03:03 PM 12/18/02 -0500, you wrote: >LOL... there's a possibility that it may not be interpreting one of your >variables as a numeric value ... You might try putting val() around both of >your variables in that cfset tag and see if that solves the immediate issue. >If so, then you've got a handle on figuring out just exactly what's going on >with it. > > > Looks like somehow you've accidentally set variables.start > > to "51Please" > > instead of 51 -- you know that CF will assign values even > > if you don't ask > > nicely, right? :-P > > > > > --Ben Doom > > Programmer & General Lackey > > Moonbow Software > > > : -----Original Message----- > > : From: paul smith [mailto:[EMAIL PROTECTED]] > > : Sent: Wednesday, December 18, 2002 1:17 PM > > : To: CF-Talk > > : Subject: Strange CFAS 5 Error > > : > > : > > : Why would: > > : > > : <cfoutput> > > : #VARIABLES.start# > > : <br> > > : #REQUEST.LISTINGS.MAXROWS# > > : </cfoutput> > > : > > : <cfset variables.end = variables.start + > > request.listings.maxrows - 1> > > : > > : Where Variables.start=51 and request.listings.maxrows=50 > > : > > : throw this error: > > : > > : ==================== > > : An error occurred while evaluating the expression: > > : variables.end = variables.start + > > request.listings.maxrows - 1 > > : Error near line 16, column 7. > > : > > : Cannot convert 51Please, check the ColdFusion manual for > > the allowed > > : conversions between data types > > : =================== > > : > > : repeatedly? > > : > > : best, paul > > : > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ~~~~~~~~~~~| > > Archives: > > http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 > > Subscription: http://www.houseoffusion.com/cf_lists/index. > > cfm?method=subscribe&forumid=4 > > FAQ: http://www.thenetprofits.co.uk/coldfusion/faq > > Your ad could be here. Monies from ads go to support these > > lists and provide more resources for the community. > > http://www.fusionauthority.com/ads.cfm > > >s. isaac dealey 954-776-0046 > >new epoch http://www.turnkey.to > >lead architect, tapestry cms http://products.turnkey.to > >certified advanced coldfusion 5 developer >http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm