query: Why isn't my variable in a function capable of storing a value that I can use later?
positive_passages.docid: 4272
positive_passages.text: Short description of the scoping rules?
negative_passages.docid: 13884
negative_passages.text: How to change a variable in a calling function from a called function?
negative_passages.docid: 127055
negative_passages.text: Pass By Value & Reference
negative_passages.docid: 119518
negative_passages.text: bash function cannot change the value of a local variable when called by $()
negative_passages.docid: 3219
negative_passages.text: Persist variables between page loads
negative_passages.docid: 92587
negative_passages.text: Surprised that global variable has undefined value in JavaScript
negative_passages.docid: 19638
negative_passages.text: What is the purpose of the var keyword and when should I use it (or omit it)?
negative_passages.docid: 18084
negative_passages.text: How do I save a variable or function definition to a file?
negative_passages.docid: 27136
negative_passages.text: Reference: What is variable scope, which variables are accessible from where and what are "undefined variable" errors?
negative_passages.docid: 11286
negative_passages.text: Can a variable number of arguments be passed to a function?
negative_passages.docid: 1499
negative_passages.text: How do I create variable variables?
negative_passages.docid: 99292
negative_passages.text: Why aren't variables declared in "try" in scope in "catch" or "finally"?
negative_passages.docid: 90061
negative_passages.text: Using var outside of a method
negative_passages.docid: 8220
negative_passages.text: Can't access global variable inside function
negative_passages.docid: 1462
negative_passages.text: UnboundLocalError on local variable when reassigned after first use
negative_passages.docid: 104517
negative_passages.text: Javascript - set a variable using concatenation of strings
negative_passages.docid: 9122
negative_passages.text: Setting a function equal a variable?