05-21-2025, 11:45 AM
The best way to avoid changing values is just to assign to a temp variable.
FUNCTION foo (tempX)
X = tempX
... do whatever with X
END FUNCTION
100% safe from changing the value, if you only assign it to a temp variable.
FUNCTION foo (tempX)
X = tempX
... do whatever with X
END FUNCTION
100% safe from changing the value, if you only assign it to a temp variable.