Correct. There are good places for incrementvalue and decrementvalue. One example - a "next" link. Normally you may do:
<cfset nextPage = url.page + 1> <a href="foo.cfm?page=#nextPage#"> But it's a bit simpler to do: <a href="foo.cfm?page=#incrementValue(url.page)#"> ======================================================================= Raymond Camden, ColdFusion Jedi Master for Macromedia Email : [EMAIL PROTECTED] Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Todd [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 02, 2002 9:31 AM > To: CF-Talk > Subject: Re: Increments > > > IncrementValue() is not depreciated, nor is DecrementValue(). > The general > rule is that variable.a = variable.a + 1 is somewhat faster than > IncrementValue(). However, I think you'll be hard pressed to > find that > holds true in CFMX. I think like Mike D's claim that IIF is > no faster or > slower in CFMX, you'll find the same for incrementValue(). A > lot of these > _old_ "DON'T DO THIS" needs to be revisited. > > ~Todd > > > Todd Rafferty ([EMAIL PROTECTED]) > http://www.web-rat.com/ > Team Macromedia Volunteer for ColdFusion > http://www.macromedia.com/support/forums/team_macromedia/ > Moderator @ FlashCFM.com - http://www.flashCFM.com/ > Back-end Moderator @ Ultrashock.com - http://www.ultrashock.com/ > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com 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

