Thanks for the advice,
Maybe you could read the question, I am talking about Adobe declaring 
a const inside a function and asking what is the use and benefit of 
that. 

No part of my question is covered by that help topic.


--- In [email protected], "Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
> Maybe you could help yourself?
> 
> From the Flex 2 manual pages:
> 
> 
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwh
elp.htm?
context=LiveDocs_Book_Parts&file=03_Language_and_Syntax_160_13.html
> 
> Constants
> ActionScript 3.0 supports the const statement, which you can use to 
create 
> constants. Constants are properties with a fixed value that cannot 
be 
> altered. You can assign a value to a constant only once, and the 
assignment 
> must occur in close proximity to the declaration of the constant. 
For 
> example, if a constant is declared as a member of a class, you can 
assign a 
> value to that constant only as part of the declaration or inside 
the class 
> constructor. "
> 
> Paul
> 
> 
> 
> ----- Original Message ----- 
> From: "johantrax" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Thursday, December 20, 2007 12:14 PM
> Subject: [flexcoders] Re: const?
> 
> 
> > Then it's out of my league, perhaps someone from Adobe could help 
us
> > out? (subtile hint ;)
> >
> >
> > --- In [email protected], "reflexactions" 
<reflexactions@>
> > wrote:
> >>
> >> Actually I wouldnt mind betting that code of yours would run 
without
> >> any error at all, native types are passed by value not reference.
> >>
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
>


Reply via email to