I am stuck on local vs global variables. If you call a variable within a sub as "sub test(a as Integer)" is a now a global variable?
I have simplified a lot of code to the below to demonstrate the issue. Right now I have put in another IF statement using the tmp variable to flip cl_min and...