#Self and #Base

Describe

#Self

The #Self keyword provides a way to refer to the specific instance of the class that owns the block of code in which it is used. It resembles an object handle, except it cannot explicitly be assigned a different object. #Self is most useful for passing the current object instance to other objects, methods, etc. that require its services.

#Base

The #Base reserved name provides a way to call methods in the base class of the subclass in which it is used. Specifically, it is useful to call the overridden method from within an Override Method.

Class BaseClass
   Method Foo bar
   End Method
End Class

Class DerivedClass Is BaseClass
   Override Method Foo bar
      #Base.Foo bar
   End Method
End Class

See also