Ugh. I use functions when I can, but I could be using them a lot more. I would save a lot of code if I could use them like this without having to make them global:
Is there a way that I can use functions like this without making any Global variables?
Local x:Int=10 ChangeX(x) Print x Function ChangeX(x:int) x=5 End Function
Is there a way that I can use functions like this without making any Global variables?