As far as I know this won't happen (it's largely guided by the ECMA 4 standard) so for AS3 you'll need to use the varargs ... syntax to take a variable number of arguments:
 
public function calculateSomething (required:int, ...others:Array):int
{
}
 
Note that you can place functions in multiple namespaces too.


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John C. Bland II
Sent: Friday, April 28, 2006 6:34 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] AS3 - Support for Overloading Method Signatures?

Ahh...this would be a beautiful addition and welcome with open arms on my end! :-)

(sorry...just wanted to back this request; no real info here)

On 4/28/06, Aaron King <[EMAIL PROTECTED]> wrote:

Hey, does anyone know if there are plans to make AS3 support overloaded
method signatures anytime before it comes out of beta?

Thanks!
Aaron




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS






--
John C. Bland II
"I do what I can do when I can do it." - Chris Tucker, Money Talks

http://www.gotoandstop.org - Home of FMUG.az

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to