A variable with lexical scope, i.e. one which only exists in some particular part of the source code, typically within a block or a function or procedure body. This contrasts with a global variable, which is defined throughout the whole program.
Code is easier to understand and modify when the scope of variables is as small as possible because it is easier to see how the variable is set and used. Code containing global variables is harder to modify because its behaviour may depend on and affect other sections of code that refer to that variable.
[wind] /wɪnd/ noun 1. one of a number of winds that are influenced predominantly by the topographic features of a relatively small region.
- Local yokel
noun phrase A native or inhabitant of a particular locale, as in She’s only gone out with local yokels, so she’s not used to more sophisticated men. This disparaging rhyming term was first used by troops stationed away from home. [ ; mid-1900s ]
[loh-kahrb] /ˈloʊˈkɑrb/ adjective, Informal. 1. containing few or fewer : a low-carb diet. adjective restricted in carbohydrate (sugar, glucose, amylose) content or intake; also written low-carb Word Origin 1950-55 adjective See lo-carb
[Italian law-kahr-naw] /Italian lɔˈkɑr nɔ/ noun 1. a town in S Switzerland, on Lake Maggiore: Locarno Pact 1925. /Italian loˈkarno/ noun 1. a town in S Switzerland, in Ticino canton at the N end of Lake Maggiore: tourist resort. Pop: 14 561 (2000)