Here is a far fetching question, but is there anyway to reverse a functions process without actually programming it "backwards"?
Don't understand the question.
Excuse me I though I was in the programming form. Sorry.
It doesn't matter where it is, I still don't understand the question.
Is it possible to reverse a functions actions. Lets say function A added x and y. could you make a function that would reverse any actions done without just looking at variables x and y, but actually reversing the effects that function A did.
Think about it.
Result 15.
What two numbers did I add to get that results?
Functions that undo other functions are called inverse functions. In standard C that are limited to trig function, exponentials and logs pretty much.
Hope this helps,
wade