6.8 Interface types

An interface name can only be used where a type is expected:

interface I{}
var x : I        // I means type I
x = new I        // Error, I is not a value

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/specs/actionscript/3/as3_specification60.html