Feb-04-2020, 03:05 AM
@michael1789.
The print is only for testing. Eventually I'm going to pass that location to another function that's going to use it.
All I want is for the variable to have scope in both functions. I could just make it a global variable but everyone keeps saying it's bad to use them. Maybe I should?
The print is only for testing. Eventually I'm going to pass that location to another function that's going to use it.
All I want is for the variable to have scope in both functions. I could just make it a global variable but everyone keeps saying it's bad to use them. Maybe I should?