The reason that the second CFPARAM will not
process as it states IF FOO does not exist,
then set it to BOO

However when the first instant was encounter
FOO was defaulted to:  BAR

Thus now FOO exists and the 2nd PARAM will not
be executed.

What are you trying to do???

If you need foo to be BOO then just use CFSET


-----Original Message-----
From: Tony Schreiber [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, January 31, 2002 11: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

Reply via email to