Matches in DBpedia 2016-04 for { <http://dbpedia.org/resource/Local_variable> ?p ?o }
Showing triples 1 to 71 of
71
with 100 triples per page.
- Local_variable abstract "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. On the other hand, many ALGOL-derived languages allow any number of nested levels of visibility, with private variables, functions, constants and types hidden within them, either by nested blocks or nested functions. Local variables are fundamental to procedural programming, and more generally modular programming: variables of local scope are used to avoid issues with side-effects that can occur with global variables.Local variables may have a lexical or dynamic scope, though lexical (static) scoping is far more common. In lexical scoping (or lexical scope; also called static scoping or static scope), if a variable name's scope is a certain block, then its scope is the program text of the block definition: within that block's text, the variable name exists, and is bound to the variable's value, but outside that block's text, the variable name does not exist. By contrast, in dynamic scoping (or dynamic scope), if a variable name's scope is a certain block, then its scope is that block and all functions transitively called by that block (except when overridden again by another declaration); after the block ends, the variable name does not exist. Some languages, like Perl and Common Lisp, allow the programmer to choose static or dynamic scoping when defining or redefining a variable. Examples of languages that use dynamic scoping include Logo, Emacs lisp, and the shell languages bash, dash, and the MirBSD Korn shell (mksh)'s \"local\" declaration. Most other languages provide lexically scoped local variables.In most languages, local variables are automatic variables stored on the call stack directly. This means that when a recursive function calls itself, local variables in each instance of the function are given distinct addresses. Hence variables of this scope can be declared, written to, and read, without any risk of side-effects to functions outside of the block in which they are declared.Programming languages that employ call by value semantics provide a called subroutine with its own local copy of the arguments passed to it. In most languages, these local parameters are treated the same as other local variables within the subroutine. In contrast, call by reference and call by name semantics allow the parameters to act as aliases of the values passed as arguments, allowing the subroutine to modify variables outside its own scope.".
- Local_variable wikiPageID "1718152".
- Local_variable wikiPageLength "7418".
- Local_variable wikiPageOutDegree "44".
- Local_variable wikiPageRevisionID "699744838".
- Local_variable wikiPageWikiLink ALGOL.
- Local_variable wikiPageWikiLink Automatic_variable.
- Local_variable wikiPageWikiLink Bash_(Unix_shell).
- Local_variable wikiPageWikiLink Block_(programming).
- Local_variable wikiPageWikiLink C++.
- Local_variable wikiPageWikiLink C_(programming_language).
- Local_variable wikiPageWikiLink Call_stack.
- Local_variable wikiPageWikiLink Category:Variable_(computer_science).
- Local_variable wikiPageWikiLink Common_Lisp.
- Local_variable wikiPageWikiLink Computer_science.
- Local_variable wikiPageWikiLink Dash.
- Local_variable wikiPageWikiLink Emacs_Lisp.
- Local_variable wikiPageWikiLink Evaluation_strategy.
- Local_variable wikiPageWikiLink Global_variable.
- Local_variable wikiPageWikiLink Logo_(programming_language).
- Local_variable wikiPageWikiLink Memory_address.
- Local_variable wikiPageWikiLink Modular_programming.
- Local_variable wikiPageWikiLink Nested_function.
- Local_variable wikiPageWikiLink Non-local_variable.
- Local_variable wikiPageWikiLink Parameter_(computer_programming).
- Local_variable wikiPageWikiLink Perl.
- Local_variable wikiPageWikiLink Procedural_programming.
- Local_variable wikiPageWikiLink Programming_language.
- Local_variable wikiPageWikiLink Recursion_(computer_science).
- Local_variable wikiPageWikiLink Ruby_(programming_language).
- Local_variable wikiPageWikiLink Scope_(computer_science).
- Local_variable wikiPageWikiLink Side_effect_(computer_science).
- Local_variable wikiPageWikiLink Static_(keyword).
- Local_variable wikiPageWikiLink Static_memory_allocation.
- Local_variable wikiPageWikiLink Static_variable.
- Local_variable wikiPageWikiLink Subroutine.
- Local_variable wikiPageWikiLink Variable_(computer_science).
- Local_variable wikiPageWikiLink Visual_Basic.
- Local_variable wikiPageWikiLink Visual_Basic_.NET.
- Local_variable wikiPageWikiLinkText "Local variable".
- Local_variable wikiPageWikiLinkText "Local variable#Static local variables".
- Local_variable wikiPageWikiLinkText "Perl-like variables".
- Local_variable wikiPageWikiLinkText "block local".
- Local_variable wikiPageWikiLinkText "lexical (my) variables".
- Local_variable wikiPageWikiLinkText "local variable".
- Local_variable wikiPageWikiLinkText "local".
- Local_variable wikiPageWikiLinkText "static local variable".
- Local_variable wikiPageUsesTemplate Template:Code.
- Local_variable subject Category:Variable_(computer_science).
- Local_variable hypernym Variable.
- Local_variable type Star.
- Local_variable type Concept.
- Local_variable type Redirect.
- Local_variable comment "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.".
- Local_variable label "Local variable".
- Local_variable sameAs Q960279.
- Local_variable sameAs Variable_local.
- Local_variable sameAs Lokální_proměnná.
- Local_variable sameAs Variable_local.
- Local_variable sameAs Lokaalne_muutuja.
- Local_variable sameAs متغیر_محلی.
- Local_variable sameAs Variable_locale.
- Local_variable sameAs Staðvær_breyta.
- Local_variable sameAs ローカル変数.
- Local_variable sameAs Zmienna_lokalna.
- Local_variable sameAs m.05qv0h.
- Local_variable sameAs Локальная_переменная.
- Local_variable sameAs Q960279.
- Local_variable sameAs 局部变量.
- Local_variable wasDerivedFrom Local_variable?oldid=699744838.
- Local_variable isPrimaryTopicOf Local_variable.