Make A Variable Negative

In some cases you may need to make a variable negative. As long as your variable isn't unsigned, you can do this:

myint = -myint;

This basically reverses the variable. It also means that if you do that while the variable is negative, it will become positive!
page_revision: 2, last_edited: 1266086083|%e %b %Y, %H:%M %Z (%O ago)