CloseRange
Member
First off I'm sorry if this is the wrong place to post this it just seemed like the most logical place.
Lately I have been thinking about global variables and I have been wondering, what is the point of them? I for one never use them in my programs and haven't for many many years so why do people use them? You could easily get the job done by using pointers to reference variables from main objects. It just seems like a waste to use.
So why do you use global variables? What benefits do you see with them?
Lately I have been thinking about global variables and I have been wondering, what is the point of them? I for one never use them in my programs and haven't for many many years so why do people use them? You could easily get the job done by using pointers to reference variables from main objects. It just seems like a waste to use.
So why do you use global variables? What benefits do you see with them?