@joachim, that was it. I eventually tracked that down. Apparently I don’t even need the Else line for this stack to work, I just had it in there by habit.
@barry, imperial feet and inches do work, as long as they are consistent. they can be foot + inch or decimal feet.
Another odd thing about this script is the DEL command. for some reason DEL TOP works, but DEL 3 doesn’t. DEL TOP got the job done, but I’m not sure why I couldn’t be more selective.