On Dec 1, 2003, at 2:09 PM, Justin Balog wrote:
I want to rewrite

<cfset myobj.myMethod(arg1="balh",arg2="foo")/>

Any syntax for that?

Why not:


<cfset myobj.myMethod("balh","foo")/>

(assuming those really are the 1st and 2nd argument)

Or:

        <cfset args = structNew() />
        <cfset args.arg1 = "balh" />
        <cfset args.arg2 = "foo" />
        <cfset myobj.myMethod(argumentCollection=args) />

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to