0

Can you use a variable that was defined outside a function in a function?

Could I change it's value in the function and have it keep that value?

12th Aug 2016, 2:38 PM
nicholas beech
nicholas beech - avatar
1 Antwort
+ 1
Define the function outside as global... Any change of value anywhere will be global
13th Aug 2016, 4:07 AM
Prashant Shahi
Prashant Shahi - avatar