Forum Moderators: open
Can anyone explain why? and : are used for in above text?
It is just a short form for an if/else.
In this case, it means if this.n_y is equal to n_order, then do what comes after the?, if not then do what comes after the :.