When I call a sub and supply a variable, the passed variable is altered after the sub terminates. How can I stop it from doing that?
Debug. print in the example should therefore be 3 rather than 8.
i = 3