Think of the global namespace as outside, and the function as a house. The house has tinted windows, so it can see out, but the global namespace cannot see in. So in summary, a function inside the global name space or another function can see the information outside the function, but the information outside the function cannot see the information inside the function.
Think of the global namespace as outside, and the function as a house. The house has tinted windows, so it can see out, but the global namespace cannot see in. So in summary, a function inside the global name space or another function can see the information outside the function, but the information outside the function cannot see the information inside the function.
phatdoggi 7 months ago
global variables?
plutgamer 1 year ago
@plutgamer Yeah usually variables in functions dont accept the variables from the main area in other languages, I guess they are just global crazy :\
JREAMdesign 1 year ago