Section 1.501(c)(4)-1 of the regulations states that an organization is operated exclusively for the promotion of social welfare if it is primarily engaged in promoting in some way the common good and general welfare of the people of the community.
In computer science, a local variable is a variable that is given local scope. Local variable references in the function or block in which it is declared override the same variable name in the larger scope. In programming languages with only two levels of visibility, local variables are contrasted with global variables.
It defines and calls two functions that both assign a value to the variable x. The first one declares the variable as local and thus changes only the local variable. The second does not declare x locally, so references to x inside of it refer to the global variable x defined at the top of the example.