rivet Posted November 13, 2005 Posted November 13, 2005 I have two possible parameters +1 and -1. After I use them in the first part of my script, I would like to invert them for the second part of my script. so +1 becomes -1 and -1 becomes +1 what is the math function to perform this inversion. I would like to avoid an if statement.
Recommended Posts
This topic is 6948 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now