using a variable to store an analog pin number

A0 is the value of the variable soilMoistureSensorPin.
AFAIK the letter A is ignored.
const byte soilMoistureSensorPin = A0; // also works
Leo..