Interface

Interface[class, super] := {members}
creates a new interface with super as parent to inherit from. A missing super in an undefined class is filled with Object. An interface is always also a Class.
  • Please refer to Class for how to define and use interface members, since they are handled identically.