Ilya Malev / Publications
Forum
Typing question
Dear programmers, I've been puzzling over a question for a long time. Is it possible to somehow contrive and make implicit typing of function's return value? So that a method of a class will return a value of a different type, if calling the methods are externally identical. void OnStart () {
How to check if an order is selected
What is the best way to check if an order is currently selected? This is particularly useful for many functions which work with orders so that the current order selection is remembered when the function starts and is restored when the function finishes, so that the order selection does not go astray