Thanks, Alain, it is working now.
Steve: you are right, my code didn't work, but yours doesn't either! What works is:
IF volt "<" oldvolt THEN
GOTO stopchg
ENDIF

Thanks, all.

Russ