In computer programming, a variable is an identifier (usually a letter, word, or phrase) that is linked to a value stored in the system's memory or an expression that can be evaluated. For instance, a variable might be called "total_count" and contain a number. In imperative programming languages, values can generally be accessed or changed at any time.
| Property | Value |
| dbpprop:abstract
|
- In computer programming, a variable is an identifier (usually a letter, word, or phrase) that is linked to a value stored in the system's memory or an expression that can be evaluated. For instance, a variable might be called "total_count" and contain a number. In imperative programming languages, values can generally be accessed or changed at any time. However, in pure functional and logic languages, variables are bound to expressions and keep a single value during their entire lifetime due to the requirements of referential transparency. In imperative languages, the same behavior is exhibited by constants, which are typically contrasted with normal variables. Depending on the type system of a programming language, variables may only be able to store a specified datatype. Alternatively a datatype may be associated only with the current value, allowing a single variable to store anything supported by the programming language. The use of the term "variable" is based on the similar mathematical concept of the same name.
- In der Programmierung ist eine Variable im allgemeinsten Sinne einfach ein Behälter für Rechnungsgrößen („Werte“), die im Verlauf eines Rechenprozesses auftreten. Im Normalfall wird eine Variable durch einen Namen bezeichnet und hat eine bestimmte Adresse im Speicher des Rechners. Manchmal ist es sinnvoll, drei Arten von Variablen zu unterscheiden: Eingabevariablen erhalten Werte, die von außen ins Programm eingegeben werden, Ausgabevariablen enthalten später die Resultate der Rechnung und Hilfsvariablen nehmen Werte auf, die im Verlauf der Rechnung benötigt werden. Diese Unterscheidung ist jedoch rein konzeptuell, die modernen Programmiersprachen nehmen darauf keine Rücksicht.
- プログラミングにおいて、変数(へんすう、variable)とは、プログラムのソースコードにおいて、扱われるデータを一定期間記憶し必要なときに利用できるようにするために、データに固有の名前を与えたものである。 一人一人の人間が異なる名前によって区別されるように、一つ一つの変数も名前によって区別される。これにより、複数のデータを容易に識別することができる。変数を区別するための名前を特に識別子という。また一般に、変数が表しているデータをその変数の値(あたい)という。
- Переме́нная в традиционных языках программирования — проименованная либо адресуемая иным способом область памяти, имя или адрес которой можно использовать для осуществления доступа к данным, находящимся в переменной. В некоторых языках программирования, таких как Пролог, РЕФАЛ или Scheme, понятие переменной оказывается при внешней схожести совершенно иным; в таких языках переменная однозначно определяется как имя, с которым может быть связано значение или даже (как в языке Scheme) место (location) для хранения значения.
|
| dbpprop:seeAlsoProperty
|
- Identifier
- Namespace (computer science)
|
| dbpprop:wikiPageUsesTemplate
| |
| rdfs:comment
|
- In computer programming, a variable is an identifier (usually a letter, word, or phrase) that is linked to a value stored in the system's memory or an expression that can be evaluated. For instance, a variable might be called "total_count" and contain a number. In imperative programming languages, values can generally be accessed or changed at any time.
- In der Programmierung ist eine Variable im allgemeinsten Sinne einfach ein Behälter für Rechnungsgrößen („Werte“), die im Verlauf eines Rechenprozesses auftreten. Im Normalfall wird eine Variable durch einen Namen bezeichnet und hat eine bestimmte Adresse im Speicher des Rechners.
- Переме́нная в традиционных языках программирования — проименованная либо адресуемая иным способом область памяти, имя или адрес которой можно использовать для осуществления доступа к данным, находящимся в переменной.
|
| rdfs:label
|
- Variable (programming)
- Variable (Programmierung)
- 変数 (プログラミング)
- Переменная (программирование)
|
| skos:subject
| |
| foaf:page
| |
| is dbpprop:disambiguates
of | |
| is dbpprop:redirect
of | |