> I personally hate positional parameters simply because they
> lack precision and can get you into trouble if something is
> moved. I've seen a lot of errors on peoples sites that can be
> traced back to a misplaced variable.

You can use named arguments within a function call:

<cffunction name="callme" ...>
<cfargument name="foo" ...>
<cfargument name="bar" ...>
...
</cffunction>

<cfset baz = callme(bar=1, foo=2)>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to