If you reset the error first, how do you return $v1? The /reseterror commands sort of halts or suppresses it.