PaulS:
That was probably my fat-fingered mistake.
Even if so, it was OP who mindlessly copied it and that suggests that working, finished code is the only correct answer for OP.
PaulS:
That was probably my fat-fingered mistake.
Even if so, it was OP who mindlessly copied it and that suggests that working, finished code is the only correct answer for OP.