OnlineWoerterBuecher.de
Internes

Lexikon


variable


(Sometimes "var" /veir/ or /var/) A named memory location in which a program can store intermediate results and from which it can read it them. Each ref="module.php?name=Lexikon&file=search&eid=1&query=programming language">programming language has different rules about how variables can be named, typed, and used. Typically, a value is "assigned" to a variable in an ref="module.php?name=Lexikon&file=search&eid=1&query=assignment">assignment statement. The value is obtained by evaluating an expression and then stored in the variable. For example, the assignment x = y + 1 means "add one to y and store the result in x". This may look like a mathematical equation but the mathematical equality is only true in the program until the value of x or y changes. Furthermore, statements like x = x + 1 are common. This means "add one to x", which only makes sense as a state changing operation, not as a mathematical equality. The simplest form of variable corresponds to a single-ref="module.php?name=Lexikon&file=search&eid=1&query=word">word of ref="module.php?name=Lexikon&file=search&eid=1&query=memory">memory or a ref="module.php?name=Lexikon&file=search&eid=1&query=CPU">CPU ref="module.php?name=Lexikon&file=search&eid=1&query=register">register and an assignment to a ref="module.php?name=Lexikon&file=search&eid=1&query=load">load or ref="module.php?name=Lexikon&file=search&eid=1&query=store">store ref="module.php?name=Lexikon&file=search&eid=1&query=machine code">machine code operation. A variable is usually defined to have a ref="module.php?name=Lexikon&file=search&eid=1&query=type">type, which never changes, and which defines the set of values the variable can hold. A type may specify a single ("atomic") value or a collection ("aggregate") of values of the same or different types. A common aggregate type is the ref="module.php?name=Lexikon&file=search&eid=1&query=array">array - a set of values, one of which can be selected by supplying a numerical ref="module.php?name=Lexikon&file=search&eid=1&query=index">index. Languages may be ref="module.php?name=Lexikon&file=search&eid=1&query=untyped">untyped, ref="module.php?name=Lexikon&file=search&eid=1&query=weakly typed">weakly typed, ref="module.php?name=Lexikon&file=search&eid=1&query=strongly typed">strongly typed, or some combination. ref="module.php?name=Lexikon&file=search&eid=1&query=Object-oriented programming">Object-oriented programming languages extend this to ref="module.php?name=Lexikon&file=search&eid=1&query=object">object types or ref="module.php?name=Lexikon&file=search&eid=1&query=classes">classes. A variable' s ref="module.php?name=Lexikon&file=search&eid=1&query=scope">scope is the region of the program source within which it represents a certain thing. Scoping rules are also highly language dependent but most serious languages support both ref="module.php?name=Lexikon&file=search&eid=1&query=local variables">local variables and ref="module.php?name=Lexikon&file=search&eid=1&query=global variables">global variables. ref="module.php?name=Lexikon&file=search&eid=1&query=Subroutine">Subroutine and ref="module.php?name=Lexikon&file=search&eid=1&query=function">function ref="module.php?name=Lexikon&file=search&eid=1&query=formal arguments">formal arguments are special variables which are set automatically by the language runtime on entry to the subroutine. In a ref="module.php?name=Lexikon&file=search&eid=1&query=functional programming">functional programming language, a variable' s value never changes and change of state is handled as recursion over lists of values. (2004-11-16)

In addition suitable contents:
[ ref="module.php?name=Lexikon&op=content&tid=31">2 ] [ ref="module.php?name=Lexikon&op=content&tid=134">= ] [ ref="module.php?name=Lexikon&op=content&tid=262">ad ] [ ref="module.php?name=Lexikon&op=content&tid=396">ag ] [ ref="module.php?name=Lexikon&op=content&tid=398">aggregate type ] [ ref="module.php?name=Lexikon&op=content&tid=411">ai ] [ ref="module.php?name=Lexikon&op=content&tid=433">al ] [ ref="module.php?name=Lexikon&op=content&tid=544">am ] [ ref="module.php?name=Lexikon&op=content&tid=592">an ] [ ref="module.php?name=Lexikon&op=content&tid=740">ar ] [ ref="module.php?name=Lexikon&op=content&tid=743">arc ] [ ref="module.php?name=Lexikon&op=content&tid=759">arg ] [ ref="module.php?name=Lexikon&op=content&tid=760">argument ] [ ref="module.php?name=Lexikon&op=content&tid=784">array ] [ ref="module.php?name=Lexikon&op=content&tid=800">as ] [ ref="module.php?name=Lexikon&op=content&tid=861">assignment ] [ ref="module.php?name=Lexikon&op=content&tid=894">at ] [ ref="module.php?name=Lexikon&op=content&tid=920">atomic ] [ ref="module.php?name=Lexikon&op=content&tid=935">au ] [ ref="module.php?name=Lexikon&op=content&tid=996">av ] [ ref="module.php?name=Lexikon&op=content&tid=1026">b ] [ ref="module.php?name=Lexikon&op=content&tid=1034">ba ] [ ref="module.php?name=Lexikon&op=content&tid=1181">be ] [ ref="module.php?name=Lexikon&op=content&tid=1269">bi ] [ ref="module.php?name=Lexikon&op=content&tid=1368">bj ] [ ref="module.php?name=Lexikon&op=content&tid=1444">bo ] [ ref="module.php?name=Lexikon&op=content&tid=1501">bot ] [ ref="module.php?name=Lexikon&op=content&tid=1535">br ] [ ref="module.php?name=Lexikon&op=content&tid=1624">bt ] [ ref="module.php?name=Lexikon&op=content&tid=1695">by ] [ ref="module.php?name=Lexikon&op=content&tid=1708">C ] [ ref="module.php?name=Lexikon&op=content&tid=1724">ca ] [ ref="module.php?name=Lexikon&op=content&tid=1863">cat ] [ ref="module.php?name=Lexikon&op=content&tid=2001">ch ] [ ref="module.php?name=Lexikon&op=content&tid=2099">ci ] [ ref="module.php?name=Lexikon&op=content&tid=2138">cl ] [ ref="module.php?name=Lexikon&op=content&tid=2145">class ] [ ref="module.php?name=Lexikon&op=content&tid=2247">co ] [ ref="module.php?name=Lexikon&op=content&tid=2273">code ] [ ref="module.php?name=Lexikon&op=content&tid=2330">com ] [ ref="module.php?name=Lexikon&op=content&tid=2332">combination ] [ ref="module.php?name=Lexikon&op=content&tid=2767">CP ] [ ref="module.php?name=Lexikon&op=content&tid=2786">CPU ] [ ref="module.php?name=Lexikon&op=content&tid=2900">cu ] [ ref="module.php?name=Lexikon&op=content&tid=3136">dd ] [ ref="module.php?name=Lexikon&op=content&tid=3151">de ] [ ref="module.php?name=Lexikon&op=content&tid=3371">diff ] [ ref="module.php?name=Lexikon&op=content&tid=3752">du ] [ ref="module.php?name=Lexikon&op=content&tid=3834">E ] [ ref="module.php?name=Lexikon&op=content&tid=3865">ec ] [ ref="module.php?name=Lexikon&op=content&tid=3896">ed ] [ ref="module.php?name=Lexikon&op=content&tid=3946">eg ] [ ref="module.php?name=Lexikon&op=content&tid=4148">er ] [ ref="module.php?name=Lexikon&op=content&tid=4150">era ] [ ref="module.php?name=Lexikon&op=content&tid=4171">es ] [ ref="module.php?name=Lexikon&op=content&tid=4199">et ] [ ref="module.php?name=Lexikon&op=content&tid=4317">expression ] [ ref="module.php?name=Lexikon&op=content&tid=4319">extend ] [ ref="module.php?name=Lexikon&op=content&tid=4497">fi ] [ ref="module.php?name=Lexikon&op=content&tid=4520">file ] [ ref="module.php?name=Lexikon&op=content&tid=4700">fo ] [ ref="module.php?name=Lexikon&op=content&tid=4727">for ] [ ref="module.php?name=Lexikon&op=content&tid=4744">formal argument ] [ ref="module.php?name=Lexikon&op=content&tid=4828">fr ] [ ref="module.php?name=Lexikon&op=content&tid=4940">function ] [ ref="module.php?name=Lexikon&op=content&tid=4941">functional ] [ ref="module.php?name=Lexikon&op=content&tid=4946">functional program ] [ ref="module.php?name=Lexikon&op=content&tid=4947">functional programming ] [ ref="module.php?name=Lexikon&op=content&tid=4989">ga ] [ ref="module.php?name=Lexikon&op=content&tid=5026">gate ] [ ref="module.php?name=Lexikon&op=content&tid=5057">ge ] [ ref="module.php?name=Lexikon&op=content&tid=5134">gh ] [ ref="module.php?name=Lexikon&op=content&tid=5141">gi ] [ ref="module.php?name=Lexikon&op=content&tid=5171">gl ] [ ref="module.php?name=Lexikon&op=content&tid=5185">glob ] [ ref="module.php?name=Lexikon&op=content&tid=5205">gn ] [ ref="module.php?name=Lexikon&op=content&tid=5291">gr ] [ ref="module.php?name=Lexikon&op=content&tid=5403">gu ] [ ref="module.php?name=Lexikon&op=content&tid=5434">h ] [ ref="module.php?name=Lexikon&op=content&tid=5488">handle ] [ ref="module.php?name=Lexikon&op=content&tid=5493">hang ] [ ref="module.php?name=Lexikon&op=content&tid=5656">hing ] [ ref="module.php?name=Lexikon&op=content&tid=5768">hr ] [ ref="module.php?name=Lexikon&op=content&tid=5931">id ] [ ref="module.php?name=Lexikon&op=content&tid=5956">ie ] [ ref="module.php?name=Lexikon&op=content&tid=5986">iff ] [ ref="module.php?name=Lexikon&op=content&tid=6013">il ] [ ref="module.php?name=Lexikon&op=content&tid=6064">in ] [ ref="module.php?name=Lexikon&op=content&tid=6082">index ] [ ref="module.php?name=Lexikon&op=content&tid=6194">int ] [ ref="module.php?name=Lexikon&op=content&tid=6413">io ] [ ref="module.php?name=Lexikon&op=content&tid=6449">ir ] [ ref="module.php?name=Lexikon&op=content&tid=6482">is ] [ ref="module.php?name=Lexikon&op=content&tid=6558">it ] [ ref="module.php?name=Lexikon&op=content&tid=6789">ke ] [ ref="module.php?name=Lexikon&op=content&tid=6918">la ] [ ref="module.php?name=Lexikon&op=content&tid=6950">language ] [ ref="module.php?name=Lexikon&op=content&tid=7023">ld ] [ ref="module.php?name=Lexikon&op=content&tid=7091">Lex ] [ ref="module.php?name=Lexikon&op=content&tid=7107">li ] [ ref="module.php?name=Lexikon&op=content&tid=7220">list ] [ ref="module.php?name=Lexikon&op=content&tid=7225">lists ] [ ref="module.php?name=Lexikon&op=content&tid=7260">load ] [ ref="module.php?name=Lexikon&op=content&tid=7280">local variable ] [ ref="module.php?name=Lexikon&op=content&tid=7281">location ] [ ref="module.php?name=Lexikon&op=content&tid=7399">ls ] [ ref="module.php?name=Lexikon&op=content&tid=7410">lt ] [ ref="module.php?name=Lexikon&op=content&tid=7415">lu ] [ ref="module.php?name=Lexikon&op=content&tid=7441">ly ] [ ref="module.php?name=Lexikon&op=content&tid=7463">ma ] [ ref="module.php?name=Lexikon&op=content&tid=7479">machine ] [ ref="module.php?name=Lexikon&op=content&tid=7480">machine code ] [ ref="module.php?name=Lexikon&op=content&tid=7749">memory ] [ ref="module.php?name=Lexikon&op=content&tid=7753">memory location ] [ ref="module.php?name=Lexikon&op=content&tid=8019">mm ] [ ref="module.php?name=Lexikon&op=content&tid=8032">mo ] [ ref="module.php?name=Lexikon&op=content&tid=8040">mod ] [ ref="module.php?name=Lexikon&op=content&tid=8079">module ] [ ref="module.php?name=Lexikon&op=content&tid=8167">mp ] [ ref="module.php?name=Lexikon&op=content&tid=8386">na ] [ ref="module.php?name=Lexikon&op=content&tid=8397">named ] [ ref="module.php?name=Lexikon&op=content&tid=8460">nc ] [ ref="module.php?name=Lexikon&op=content&tid=8472">ne ] [ ref="module.php?name=Lexikon&op=content&tid=8627">ng ] [ ref="module.php?name=Lexikon&op=content&tid=8660">nl ] [ ref="module.php?name=Lexikon&op=content&tid=8675">no ] [ ref="module.php?name=Lexikon&op=content&tid=8760">ns ] [ ref="module.php?name=Lexikon&op=content&tid=8787">nu ] [ ref="module.php?name=Lexikon&op=content&tid=8820">O ] [ ref="module.php?name=Lexikon&op=content&tid=8838">object ] [ ref="module.php?name=Lexikon&op=content&tid=8964">om ] [ ref="module.php?name=Lexikon&op=content&tid=9014">op ] [ ref="module.php?name=Lexikon&op=content&tid=9457">pe ] [ ref="module.php?name=Lexikon&op=content&tid=9550">ph ] [ ref="module.php?name=Lexikon&op=content&tid=9616">ping ] [ ref="module.php?name=Lexikon&op=content&tid=9651">pl ] [ ref="module.php?name=Lexikon&op=content&tid=9738">ply ] [ ref="module.php?name=Lexikon&op=content&tid=9821">port ] [ ref="module.php?name=Lexikon&op=content&tid=9908">pr ] [ ref="module.php?name=Lexikon&op=content&tid=10023">program ] [ ref="module.php?name=Lexikon&op=content&tid=10042">programming ] [ ref="module.php?name=Lexikon&op=content&tid=10044">programming language ] [ ref="module.php?name=Lexikon&op=content&tid=10229">quality ] [ ref="module.php?name=Lexikon&op=content&tid=10253">query ] [ ref="module.php?name=Lexikon&op=content&tid=10364">rc ] [ ref="module.php?name=Lexikon&op=content&tid=10385">re ] [ ref="module.php?name=Lexikon&op=content&tid=10431">recursion ] [ ref="module.php?name=Lexikon&op=content&tid=10489">register ] [ ref="module.php?name=Lexikon&op=content&tid=10767">ro ] [ ref="module.php?name=Lexikon&op=content&tid=10816">routine ] [ ref="module.php?name=Lexikon&op=content&tid=10887">ru ] [ ref="module.php?name=Lexikon&op=content&tid=10892">run ] [ ref="module.php?name=Lexikon&op=content&tid=10918">S ] [ ref="module.php?name=Lexikon&op=content&tid=10922">sa ] [ ref="module.php?name=Lexikon&op=content&tid=10959">sam ] [ ref="module.php?name=Lexikon&op=content&tid=11010">sc ] [ ref="module.php?name=Lexikon&op=content&tid=11070">scope ] [ ref="module.php?name=Lexikon&op=content&tid=11150">se ] [ ref="module.php?name=Lexikon&op=content&tid=11281">set ] [ ref="module.php?name=Lexikon&op=content&tid=11376">si ] [ ref="module.php?name=Lexikon&op=content&tid=11389">sig ] [ ref="module.php?name=Lexikon&op=content&tid=11651">so ] [ ref="module.php?name=Lexikon&op=content&tid=11745">source ] [ ref="module.php?name=Lexikon&op=content&tid=11790">spec ] [ ref="module.php?name=Lexikon&op=content&tid=11934">st ] [ ref="module.php?name=Lexikon&op=content&tid=11990">state ] [ ref="module.php?name=Lexikon&op=content&tid=12068">store ] [ ref="module.php?name=Lexikon&op=content&tid=12106">strongly typed ] [ ref="module.php?name=Lexikon&op=content&tid=12133">su ] [ ref="module.php?name=Lexikon&op=content&tid=12145">subroutine ] [ ref="module.php?name=Lexikon&op=content&tid=12206">support ] [ ref="module.php?name=Lexikon&op=content&tid=12359">T ] [ ref="module.php?name=Lexikon&op=content&tid=12588">th ] [ ref="module.php?name=Lexikon&op=content&tid=12721">to ] [ ref="module.php?name=Lexikon&op=content&tid=12787">tr ] [ ref="module.php?name=Lexikon&op=content&tid=12873">tron ] [ ref="module.php?name=Lexikon&op=content&tid=12970">type ] [ ref="module.php?name=Lexikon&op=content&tid=12986">ua ] [ ref="module.php?name=Lexikon&op=content&tid=13030">um ] [ ref="module.php?name=Lexikon&op=content&tid=13141">untyped ] [ ref="module.php?name=Lexikon&op=content&tid=13146">up ] [ ref="module.php?name=Lexikon&op=content&tid=13175">us ] [ ref="module.php?name=Lexikon&op=content&tid=13252">va ] [ ref="module.php?name=Lexikon&op=content&tid=13260">value ] [ ref="module.php?name=Lexikon&op=content&tid=13274">var ] [ ref="module.php?name=Lexikon&op=content&tid=13310">ve ] [ ref="module.php?name=Lexikon&op=content&tid=13628">weakly typed ] [ ref="module.php?name=Lexikon&op=content&tid=13820">word ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (10161 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.103 Seconds, with 16 Database-Queries
Zurück zur Startseite