After thinking about it some more, I think setting the value to blank if an error was detected is better than setting it to 0

$ChangeVLKey = 0
Would be better set to
$ChangeVLKey = ""

I'm open to further discussion on this subject as well as WHY you think it should be one way or another.