[SOLVED] How can I dynanically change math signs

Hi Gang:

What I'm looking for is a way to dynamically change the plus "+" or minus "-" signs in my program (I searched the forum and didn't see anything similiar).

**Explanation:**

- If the condition is x, then use "+" in all math operations
- If the condition is y, then use "-" in all math operations

I know that I can have two sections in the program, one that adds and the other that subtracts, but it would be easier (and more efficient) if could establish this from the begining since the two sections are the same except for the math operations.

Thanks

Chris

[SOLVED] How can I dynanically change math signs

Supamagier & Darryl.Burke... thanks for the responses. Multiplying by the Sign variable will do the job.

Thanks,

Chris