Actions On A Variable
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 (e.g. integer or string). Alternatively, a datatype may be associated only with the current value, allowing a single variable to store anything supported by the programming language.
Read more about this topic: Scalar (computing)
Famous quotes containing the words actions on, actions and/or variable:
“The legislative powers of government reach actions only, and not opinions, ... thus building a wall of separation between Church and State.”
—Thomas Jefferson (17431826)
“Throughout my life, I have seen narrow-shouldered men, without a single exception, committing innumerable stupid acts, brutalizing their fellows and perverting souls by all means. They call the motive for their actions fame.”
—Isidore Ducasse, Comte de LautrĂ©amont (18461870)
“There is not so variable a thing in nature as a ladys head-dress.”
—Joseph Addison (16721719)