@Open

Specifies that a declared element can be extended or overridden.

Instructions

Notice: Elements with the modifiers @Abstract or @Override are also open to re-implementation.

You must know

Mixed modifiers
You cannot put @Open together with @Shared, @Abstract, or @Override in the same declaration.
Class extension
You can extend a class only if it has one of the modifiers @Open or @Abstract.
Declaration contexts
You can declare open methods and properties only in an open class.

Applies to

Examples

@Open Class MyBaseClass
  @Open Method MyMethod
  End Method
End Class

Class MyDerivedClass Is MyBaseClass
  @Override Method MyMethod
  End Method
End Class