Logo
Unionpedia
Communication
Get it on Google Play
New! Download Unionpedia on your Android™ device!
Free
Faster access than browser!
 

Local variable

Index Local variable

In computer science, a local variable is a variable that is given local scope. [1]

32 relations: ALGOL, Automatic variable, Bash (Unix shell), Block (programming), C (programming language), C++, Call stack, Common Lisp, Computer science, Dash, Emacs Lisp, Evaluation strategy, Global variable, Logo (programming language), Memory address, Modular programming, Nested function, Non-local variable, Parameter (computer programming), Perl, Procedural programming, Programming language, Recursion (computer science), Ruby (programming language), Scope (computer science), Side effect (computer science), Static (keyword), Static variable, Subroutine, Variable (computer science), Visual Basic, Visual Basic .NET.

ALGOL

ALGOL (short for "Algorithmic Language") is a family of imperative computer programming languages, originally developed in the mid-1950s, which greatly influenced many other languages and was the standard method for algorithm description used by the ACM in textbooks and academic sources for more than thirty years.

New!!: Local variable and ALGOL · See more »

Automatic variable

In computer programming, an automatic variable is a local variable which is allocated and deallocated automatically when program flow enters and leaves the variable's scope.

New!!: Local variable and Automatic variable · See more »

Bash (Unix shell)

Bash is a Unix shell and command language written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell.

New!!: Local variable and Bash (Unix shell) · See more »

Block (programming)

In computer programming, a block or code block is a lexical structure of source code which is grouped together.

New!!: Local variable and Block (programming) · See more »

C (programming language)

C (as in the letter ''c'') is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope and recursion, while a static type system prevents many unintended operations.

New!!: Local variable and C (programming language) · See more »

C++

C++ ("see plus plus") is a general-purpose programming language.

New!!: Local variable and C++ · See more »

Call stack

In computer science, a call stack is a stack data structure that stores information about the active subroutines of a computer program.

New!!: Local variable and Call stack · See more »

Common Lisp

Common Lisp (CL) is a dialect of the Lisp programming language, published in ANSI standard document ANSI INCITS 226-1994 (R2004) (formerly X3.226-1994 (R1999)).

New!!: Local variable and Common Lisp · See more »

Computer science

Computer science deals with the theoretical foundations of information and computation, together with practical techniques for the implementation and application of these foundations.

New!!: Local variable and Computer science · See more »

Dash

The dash is a punctuation mark that is similar in appearance to and, but differs from these symbols in both length and height.

New!!: Local variable and Dash · See more »

Emacs Lisp

Emacs Lisp is a dialect of the Lisp programming language used as a scripting language by Emacs (a text editor family most commonly associated with GNU Emacs and XEmacs).

New!!: Local variable and Emacs Lisp · See more »

Evaluation strategy

Evaluation strategies are used by programming languages to determine when to evaluate the argument(s) of a function call (for function, also read: operation, method, or relation) and what kind of value to pass to the function.

New!!: Local variable and Evaluation strategy · See more »

Global variable

In computer programming, a global variable is a variable with global scope, meaning that it is visible (hence accessible) throughout the program, unless shadowed.

New!!: Local variable and Global variable · See more »

Logo (programming language)

Logo is an educational programming language, designed in 1967 by Wally Feurzeig, Seymour Papert and Cynthia Solomon.

New!!: Local variable and Logo (programming language) · See more »

Memory address

In computing, a memory address is a reference to a specific memory location used at various levels by software and hardware.

New!!: Local variable and Memory address · See more »

Modular programming

Modular programming is a software design technique that emphasizes separating the functionality of a programme into independent, interchangeable modules, such that each contains everything necessary to execute only one aspect of the desired functionality.

New!!: Local variable and Modular programming · See more »

Nested function

In computer programming, a nested function (or nested procedure or subroutine) is a function which is defined within another function, the enclosing function.

New!!: Local variable and Nested function · See more »

Non-local variable

In programming language theory, a non-local variable is a variable that is not defined in the local scope.

New!!: Local variable and Non-local variable · See more »

Parameter (computer programming)

In computer programming, a parameter (often called formal parameter or formal argument) is a special kind of variable, used in a subroutine to refer to one of the pieces of data provided as input to the subroutine.

New!!: Local variable and Parameter (computer programming) · See more »

Perl

Perl is a family of two high-level, general-purpose, interpreted, dynamic programming languages, Perl 5 and Perl 6.

New!!: Local variable and Perl · See more »

Procedural programming

Procedural programming is a programming paradigm, derived from structured programming, based upon the concept of the procedure call.

New!!: Local variable and Procedural programming · See more »

Programming language

A programming language is a formal language that specifies a set of instructions that can be used to produce various kinds of output.

New!!: Local variable and Programming language · See more »

Recursion (computer science)

Recursion in computer science is a method of solving a problem where the solution depends on solutions to smaller instances of the same problem (as opposed to iteration).

New!!: Local variable and Recursion (computer science) · See more »

Ruby (programming language)

Ruby is a dynamic, interpreted, reflective, object-oriented, general-purpose programming language.

New!!: Local variable and Ruby (programming language) · See more »

Scope (computer science)

In computer programming, the scope of a name binding – an association of a name to an entity, such as a variable – is the region of a computer program where the binding is valid: where the name can be used to refer to the entity.

New!!: Local variable and Scope (computer science) · See more »

Side effect (computer science)

In computer science, a function or expression is said to have a side effect if it modifies some state outside its scope or has an observable interaction with its calling functions or the outside world besides returning a value.

New!!: Local variable and Side effect (computer science) · See more »

Static (keyword)

In the C programming language (and its close descendants such as C++ and Objective-C), static is a reserved word controlling both lifetime (as a static variable) and visibility (depending on linkage).

New!!: Local variable and Static (keyword) · See more »

Static variable

In computer programming, a static variable is a variable that has been allocated "statically", meaning that its lifetime (or "extent") is the entire run of the program.

New!!: Local variable and Static variable · See more »

Subroutine

In computer programming, a subroutine is a sequence of program instructions that performs a specific task, packaged as a unit.

New!!: Local variable and Subroutine · See more »

Variable (computer science)

In computer programming, a variable or scalar is a storage location (identified by a memory address) paired with an associated symbolic name (an identifier), which contains some known or unknown quantity of information referred to as a value.

New!!: Local variable and Variable (computer science) · See more »

Visual Basic

Visual Basic is a third-generation event-driven programming language and integrated development environment (IDE) from Microsoft for its Component Object Model (COM) programming model first released in 1991 and declared legacy during 2008.

New!!: Local variable and Visual Basic · See more »

Visual Basic .NET

Visual Basic.NET (VB.NET) is a multi-paradigm, object-oriented programming language, implemented on the.NET Framework.

New!!: Local variable and Visual Basic .NET · See more »

Redirects here:

Local scope, Local state, Local variables, Static local variable.

References

[1] https://en.wikipedia.org/wiki/Local_variable

OutgoingIncoming
Hey! We are on Facebook now! »