> Is there a way to duplicate my intended behavior another way?
Yes, don't use cfparam in the second instance, use a condition.
<cfif foo IS "bar">
<cfset foo = "boo">
</cfif>
That will, in essence, param the variable to "boo" if the variable hadn't
been touched since the initial param.
> -----Original Message-----
> From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 31, 2002 10:06 AM
> To: CF-Talk
> Subject: CFPARAM Question
>
>
> Do subsequent CFPARAMS of the same variable overwrite each other? I
> thought so, but they don't seem to.
>
> <CFPARAM NAME="foo" DEFAULT="bar">
>
> .. later ...
>
> <CFPARAM NAME="foo" DEFAULT="boo">
>
> If I check for foo it's still "bar" instead of "boo"...
>
> Is there a way to duplicate my intended behavior another way?
>
> Tony Schreiber, Senior Partner Man and
> Machine, Limited
> mailto:[EMAIL PROTECTED]
> http://www.technocraft.com
>
> http://www.simplemessageboard.com ___Free Forum Software for
> Cold Fusion
> http://www.is300.net ___________The Enthusiast's Home of the
> Lexus IS300
> http://www.digitacamera.com ______________DigitA Camera
> Scripts and Tips
> http://www.linklabexchange.com _____________Miata Link ECU
> Data Exchange
>
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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