>- see footer for list info -<
Same way u pass values to any function call.

e.g.
TotalCrt(value1,value2...);


Russ
-----Original Message-----
From: Damien Gallagher <[EMAIL PROTECTED]>
To: Coldfusion Development <[email protected]>
Date: Fri, 28 Apr 2006 12:30:08 +0100
Subject: [CF-Dev] passing parameters within a cfc

> >- see footer for list info -<
> Hi all,
> 
> I know you can call a function from within another function within a 
> CFC. eg. with a shopping cart app I have, from within UpdateCart I can 
> call TotalCrt() and update the total.
> 
> What I want to know is, can you pass parameter/values to the function 
> you're calling? eg. with TotalCart() can I, say, specify something like
> 'this.discount=2.99'. If so, how?
> 
> Thanks, Damien
> _______________________________________________
> 
> For details on ALL mailing lists and for joining or leaving lists, go
> to http://list.cfdeveloper.co.uk/mailman/listinfo
> 
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your
> help -<


_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to