Its a little more complex than that, you can also have same about of
arguments but different argument types
eg

myfunction(string a)
myfunction(object a)

Of course there a issues with this in a typeless language like CF is
(sortof)..

Justin




> -----Original Message-----
> From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
> Sent: 29 November 2002 14:07
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] for loops...
>
>
> > 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.
>
> Ahh... I see. 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]

Reply via email to