Formula for Skill name not accepting variables game variables

In MZ, this formula works for damage created by a skill: a.atk * 10 - b.def - b.mdf * 2
However if I change it to a.atk * 10 - b.def - b.mdf * 2 + v[101] * 10 it always does zero damage.

I am trying to add 10 times the custom variable 101 to my damage. What am I doing wrong?

Thanks for any help you can give.
Variables need to be set/initiated at a start value even if said value is zero. Try a battle event at turn 0 and set your variable in battletest or simply set it during test play and see if it works.
Just to expand a bit more explicitly: if you have an equation with a variable that isn't initialized, the whole thing will evaluate to 0. That's why Weremole presumed that's your problem.
Thanks. This advice seems to have fixed things.

Original thread: https://forums.rpgmakerweb.com/threads/formula-for-skill-name-not-accepting-variables-game-variables.150735/