Originally Posted by smoker
Apart from the comment being wrong. You said it didn't do what the comment said it did.
Correct but the code itself is fine.
Probably "Reset" is used in the sense "set to another value" but it also has the sense "set back to the original value". The difference is significant for pedantic stuff like computer programming. Simply "Set" would have been clearer.