in reply to Why do I get a "used only once" warning here?

How interesting... I had never encountered the phrase "XY problem" before. (Well, except in reference to the inhabitants of Venus and Mars ...) ;-)