Re: Functions with Optional Arguments
There are at least four ways to pass arguments.
name value pairs, something like
just the values, and they have to be in expected order, something like
My personal favourite is to use the argumentcollection keyword.
x= myfunction (argumentcollection = SomeStructure));
Something I never use is <cfinvokeargument>, but it's available.
Bypassing optional arguments is done within the function itself. You can use
isDefined() to see there, and then if/else logic.