Can't recall a situation where I needed the value reset, since most functions will set it, and I'll only test it where I need to know the last status. I do, however, save the error status, or at least an error flag if errors are non-fatal, something like:

; Set errflag to last error, but don't change previous value if
; the current error value is zero
$ErrFlag = IIF(@ERROR, @ERROR, $ErrFlag)

I suppose if I HAD to reset the macro, something like what you proposed would do it.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D