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

______________________________________________________________________
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

Reply via email to