also, could be the same amount of parameters, but different types, eg
passing a String, a Boolean, a Double value, etc.  Have 3 functions that
handle each type and do different things as fit.


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                                          
                    duncan.cumming@alienationde                                        
                                          
                    sign.co.uk                         To:     
<[EMAIL PROTECTED]>                                     
                                                       cc:                             
                                          
                    11/29/02 02:01 PM                  Subject:     RE: [ cf-dev ] for 
loops...                                  
                    Please respond to dev                                              
                                          
                                                                                       
                                          
                                                                                       
                                          




you've got two functions with the same name, but different amount of
arguments.  so if you call function(arg1), it'll do the function that
accepts 1 argument.  if you call function(arg1, arg2), it'll do the
function that takes 2 arguments.  very useful.


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------



                    "Aidan Whitehall"

                    <AidanWhitehall@Fairba        To:
<[EMAIL PROTECTED]>
                    nks.co.uk>                    cc:

                                                  Subject:     RE: [ cf-dev
] for loops...
                    11/29/02 01:59 PM

                    Please respond to dev






> Someone will tell me you can overload functions next..

I've seen this mentioned many times, although not necessarily in CF
circles. What *is* overloading a function?

Tell me to RTFM if it's applicable, but a pointer to a decent M would
help.


Thanks

--
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]






--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]






-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to