I'm not sure, but 'arguments' is considered old-fashioned. In AS3 you
should use
 
    function f(param1:int, param2:String, ... rest)
 
rest has type Array. You don't have to use the name 'rest'.
 
- Gordon

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sbyrne_dorado
Sent: Thursday, January 11, 2007 5:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] "arguments" class?



The Flex 2/AS3 docs make it appear that "arguments" is both a
variable, as well as a class. Can anyone clarify this for me? If I
want to store "arguments" away for later usage, what type should I
specify (apart from Array, which I *think* will work, tho given that
there's not a type inheritance relationship there, it may not)?

Steve



 

Reply via email to