[thelist] CF: Order of optional arguments in functions?

Mark Mandel mark.mandel at gmail.com
Mon Aug 30 08:06:43 CDT 2010


Yep, you just have to name the arguments.

Perfect example:
http://stackoverflow.com/questions/1071396/how-to-specify-only-some-optional-arguments-when-calling-function-in-coldfusion

Mark



On Mon, Aug 30, 2010 at 10:58 PM, Frank Marion <lists at frankmarion.com>wrote:

>
> I'm writing a function that has 5 options of different types. CF, it seems,
> expects values to be passed in the precise order in which the arguments are
> set up in the UDF.
>
> Is there a way to make the order of the parameters optional?
>
> --
> Frank Marion
> lists [_at_] frankmarion.com
>
>
>
>
>
> --
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !




-- 
E: mark.mandel at gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

cf.Objective(ANZ) - Nov 18, 19 - Melbourne Australia
http://www.cfobjective.com.au

Hands-on ColdFusion ORM Training
www.ColdFusionOrmTraining.com


More information about the thelist mailing list