It is not deprecated. Why have it? Developer's choice. You decide which you want to use and feel comfortable with. It's a good question for the macromedians on the list, why provide a function if you recommend against it.
At 04:19 PM 8/2/2002 +0100, you wrote: >Why have it then? is it deprecated? > >-----Original Message----- >From: Sean A Corfield [mailto:[EMAIL PROTECTED]] >Sent: 02 August 2002 16:19 >To: CF-Talk >Subject: Re: Increments > > >On Friday, August 2, 2002, at 07:53 , Raymond Camden wrote: > > Um. No. incrementValue _returns_ the higher value. It doesn't change > > url.page. If you cfoutput url.page after this code, it is not changed. > >Ah, good. So in fact there's even less reason to use incrementValue() now >than ever before... > ><cfset x = x + 1/> ><cfset x = incrementValue(x)/> > >The first is shorter (and, in my opinion, clearer code). > >And clearly: > > #x + 1# > >is shorter and easier to read than: > > #incrementValue(x)# > >Sean A Corfield -- http://www.corfield.org/blog/ > >"If you're not annoying somebody, you're not really alive." >-- Margaret Atwood > > > ______________________________________________________________________ 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 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

