I understand what it's doing, but I'd rather it worked like the example I gave than throw an error.
Ade -----Original Message----- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: 04 April 2003 15:32 To: CF-Talk Subject: RE: cfparam > > <cfparam name="URL.id" default="0" type="numeric"> > > ...was the same as using... > > <cfif NOT IsDefined("URL.id") OR NOT IsNumeric(URL.id)> > <cfset URL.id = 0> > </cfif> > > ...so the param kicks in if URL.id isn't defined OR if it > isn't a number? > Correct. If url.id = ray, then you would get an error. ======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

