The syntax I noted was "name value pair", I just used really horrible
examples for my names.  In reality, it'd probably be more like:

<cfset getProductsAndItems =
productItemGateway.getProductAndItems(productID="#url.productID#",
customerNum="#form.nCustomerID#") />

...or something like that.

And in your function you would have:

<cfargument name="customerNum"....
and
<cfargument name="productID"...


....but these can be in any order, since you're specifying, by name,
which value goes with which variable, when you call the method.





Nolan Erck
Web Developer/Programmer
Schools Financial Credit Union
(916) 569-5409 Office
(916) 569-2024 Fax
www.schools.org

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Aaron Roberson
Sent: Friday, June 23, 2006 1:32 PM
To: CFCDev@cfczone.org
Subject: Re: [CFCDev] Question About Invoking/Creating CFC Objects

Thanks Dave!

Is Nolan's syntax the name-valued pair that you are talking about or
is there another way of getting at this?

-Aaron

On 6/23/06, Aaron Roberson <[EMAIL PROTECTED]> wrote:
> Nolan,
>
> your syntax worked just fine. I am wondering if there is some other
> way that Dave might be getting at. Also, I am still wondering if I
> should even take this approach since one would have to know the exact
> spelling of the arguments in the method.
>
> -Aaron
>
> On 6/23/06, Aaron Roberson <[EMAIL PROTECTED]> wrote:
> > > You can specify name-value pairs ("named notation") in any order;
the
> > > default notation where you specify the values in order is called
"positional
> > > notation".
> >
> > Dave, could you give me an example of the syntax for name-value
pairs?
> >
> > Thanks,
> > Aaron
> >
>


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of
the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/cfcdev@cfczone.org




The information contained in this e-mail is confidential and may contain 
privileged information exempt from disclosure under applicable law. The 
information is intended only for the use of the individual or entity to which 
it is addressed. If you are not the intended recipient, employee, or agent 
responsible to deliver it to the intended recipient, you are hereby notified 
that any use, dissemination, distribution, or copying of this communication is 
strictly prohibited. If you have received this e-mail in error, please delete 
the message from your computer and immediately notify the sender by telephone 
(you may call collect) at 916-569-5400 or by e-mail to [EMAIL PROTECTED] Thank 
you.


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/cfcdev@cfczone.org


Reply via email to