Printer Friendly
The Free Dictionary
982,667,323 visitors served.
?
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

local variable

   Also found in: Acronyms, Wikipedia, Hutchinson 0.32 sec.

In programming, a variable used only within the routine or function it is defined in. When the function is finished and control is returned back to the part of the program that called it, the local variables no longer exist. Contrast with global variable.


(programming)local variable - 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 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 they create more interdependencies between sections of code.

?Page tools
Printer friendly
Cite / link
Email
Feedback
? Mentioned in ? References in periodicals archive
 
3 is the delivery of industry-leading formal support for SystemVerilog local variables which provide users with an efficient way to handle complex data and design constructs.
The Divisional President for the North America Division also participates in a local variable salary programme, the result of which can yield a maximum of a further 100 per cent of the fixed salary every other year.
Other additions to Vista's debugging capabilities include enhanced transaction-level model (TLM) viewing with a transaction sequence viewer and improved support for local variable tracing in Vista's waveform and process status window.
 
Encyclopedia browser? ? Full browser
 
 
Encyclopedia
?

Disclaimer | Privacy policy | Feedback | Copyright © 2008 Farlex, Inc.
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. Terms of Use.