I found it,
I was declaring the variable twice.
It would run one time, but not the next. Probably some side effect of compilation. It'd be nice to see it detect that problem at first.
Does 7.4.x have this problem?
Sorry for any repeated emails - I'm using web mail from a remote location.