OOP style scripting in KRPano

  • Hi, everyone.
    I found a way how to write Object Oriented Programing style in KRPano script.
    This is just for fun.

    ----------
    <pre>


    </pre>


    ----
    bye

  • This is not so beautiful code.
    Especially 'creating new instance' will be better.

    At first, I wrote
    copy( instance1, class['test'] );
    copy( instance2, class['test'] );

    But this isn't work.Because this copy worked as reference ( not deep copy ).

    >Klaus
    Could you please add new commands like 'new' and 'this' ?
    (just joking. I think there are more important wishes from users.)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!