[Objectscript-users] Addition to OScript syntax
Brought to you by:
rob_d_clark
From: <ar...@va...> - 2005-12-02 13:59:31
|
Rob, Is it difficult to add the following to the OScript syntaxt: function A() { public function print() {} } function B() { mixin new A(); public function print() { A::print(); ^^^^^^^^^^^ // do other print stuff } } "::" means in this case that you specifically point to the object "A" and call its print method. I don't think that this is a difficult addition to the syntaxt, but i'm completely unknown to JavaCC and how you used it in OScript. Maybe you can point me in some direction to have this included. thank you very much. Regards, Arjen van Efferen |