Twitsnip is a place to post code snippets and share them. Login with your existing Twitter account, if you don't have a Twitter account simply create on at www.twitter.com

Tag: change

Change a variable to

0

This simple function checks the name of a variable and if it is a certain value changes it, else it will return the original value.