Nice idea! Actually I already thought of inventing a runtime library (emscripting is doing it similar). Then I could pass the variable by reference, to increment it, and return the old value as a result.

But would this work with an Any-Type? Because in the place where I get the operator I don't know the datatype. Not sure, yet.

BR,
Ingo