Menu

keywords-interface

Will Pittenger

Interfaces are like classes with only declarations of procedures and properties. They don't provide any data storage or other implementation. Classes associate themselves with an interface with the implements keyword. They can implement as many interfaces as needed. All interface methods are implicitly public. If this interface isn't extending any other interfaces, the extends clause can be omitted. Interfaces use the extends keyword to extend other interfaces.

\interface\ identifier
  [extends BaseInterfaceList]
  ' Declare procedures as needed, but without any implementations

Related

Wiki: Attributes
Wiki: Commands
Wiki: Custom operators
Wiki: Keywords
Wiki: Type casts
Wiki: keywords-const
Wiki: keywords-extends
Wiki: keywords-implements
Wiki: keywords-override
Wiki: keywords-property
Wiki: keywords-static
Wiki: keywords-virtual