using a variable to store an analog pin number

roosterqmoney:
something super obvious that I didn't realise when I wrote this question, there are two different read functions, analog and digital, so of course the "A" before the "0" is entirely unnecessary...

Except '0' is zero and 'A0' is 14 on an UNO and different numbers on other processors. The name 'A0' works for both digital I/O and analogRead(). The number '0' means different things to analogRead() and digitalRead(). It also makes the meaning clear when you are assigning names to pins.

// Using just numbers:
const byte Input1Pin = 2;
const byte Input2Pin = 3;
const byte Input3Pin = 4;
const byte Input4Pin = 2;
const byte Input5Pin = 3;
// Using names:
const byte Input1Pin = 2;
const byte Input2Pin = 3;
const byte Input3Pin = 4;
const byte Input4Pin = A2;
const byte Input5Pin = A3;

For analog inputs I recommend ALWAYS using the name.