no access identifiers in interfaces give an error and then its the const that is the main error

On 2/10/06, Manish Jethani < [EMAIL PROTECTED]> wrote:
On 2/10/06, Johannes Nel < [EMAIL PROTECTED]> wrote:


>     public interface IStream  extends IEventDispatcher{
>         const UPDATED:String ="streamUpdated";
[snip]

> getting the error "variable declarations are not permitted in interfaces". but a constant is not a variable, its set at compile time so why is this not allowed?

Does declaring it as "static" help?


--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/






--
j:pn


--
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