Stenway Developer Network

base Keyword

Base

namespace MyLib
  class BaseClass
    overridable method doSomething()
  
    end
  end
  
  class MyClass extends BaseClass
    override method doSomething()
      base.doSomething()
      # do something more
    end
  end
end
namespace MyLib
  class BaseClass
    constructor(x)
  
    end
  end
  
  class MyClass extends BaseClass
    constructor()
      base(123)
    end
  end
end