Jeremy French
Member since Dec 11, 2008
- Profile: /members/2165-jeremy-french.htm
- URL: http://www.frenches.com
- Comments: 4
Recent Blog Comments By Jeremy French
-
Testing String Equality Of Any Length Happens Instantly In ColdFusion
Posted on May 4, 2007 at 12:17 PM
I don't know if this applies or not, but I've noticed that in the times listed in the debugging information at the bottom of the page, that CF never reports a time between 0 and 10 ms. I assume it's because of the difficulty in measuring a period of time that small, but I don't know for sure. as s... read more »
-
Strange Numericly Named CFInvokeArgument Behavior
Posted on Mar 29, 2007 at 6:12 PM
Another possible solution to your quandry would be to pass them in in array syntax, e.g. <cfinvoke method="DumpArgs"> <cfinvokeargument name="args[3]" value="Kim" /> <cfinvokeargument name="args[2]" value="Jessie" /> <cfinvokeargument name="args[1]" value="Samantha" /> </... read more »
-
Strange Numericly Named CFInvokeArgument Behavior
Posted on Mar 29, 2007 at 6:04 PM
Ah. I was quite befuddled myself, but couldn't quit until I figured it out. The cause for this behaviour is a combination of CF's universal variant datatype, and your use of syntactically invalid variable names. CF variable names have to start with an alpha, underscore, or currency character. ... read more »
-
How Do You Use The ColdFusion CFParam Tag?
Posted on Mar 23, 2007 at 11:12 AM
I'll sometimes use it to allow parameters from multiple scopes with over-riding capabilities. e.g. in a custom tag: <cfparam name="URL.PostID" default="0"> <cfparam name="Attributes.PostID" default="#URL.PostID#"> <cfquery name="q"> SELECT * FROM Something WHERE PostID = #Argume... read more »