I thought the above was a little long winded so I decided to use a for loop and assign the varable names to char i.e.
Where I am having difficulty is working out how to assign the variableName which is a String to char i.e. char variableName. It is saying variableName is already defined; Of which I want it to be! But how do I say it is a String which is the name of a char variable?
This may be too obvious, but the alternative to having char variables named "pos1", "pos2", "pos3" is to have an array of char named pos, and then work with pos, pos, and pos. Seems like you're going to great lengths to avoid this simple solution -- how come?