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
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
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