Topic was automatically imported from the old Question2Answer platform.
Asked By
Dumuz
So I have a global variable changing in process and I want to ‘stamp’ it’s value during another function, so I can compare that value to it’s future value. How would I do this?
You could just create two such global variables; one that updates regulary and another one that is essentially a copy of the first. You create a function that creates a copy whenever necessary and you make another function that compares the two variables whenever you need them to be compared.