View Single Post
Old 10-07-2012, 02:57 AM   PM User | #53
LearningCoder
Regular Coder

 
LearningCoder's Avatar
 
Join Date: Jan 2011
Location: The Pleiades
Posts: 848
Thanks: 67
Thanked 28 Times in 28 Posts
LearningCoder is an unknown quantity at this point
When using global variables, if I have a script and it 'requires' another file, when I go into that file and set a global variable and that script ends and returns to the first script, does my global variable still exist until the end of execution, or does it die when it leaves the script which created it?

P.s - so annoyed, I tried hoovering my keys and ended up pulling off my right bracket and ENTER keys ...proving hard to fix.

Regards,

LC.
LearningCoder is offline   Reply With Quote