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 ef="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 ef="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-ef="module.php?name=Lexikon&file=search&eid=1&query=word">word of ef="module.php?name=Lexikon&file=search&eid=1&query=memory">memory or a ef="module.php?name=Lexikon&file=search&eid=1&query=CPU">CPU ef="module.php?name=Lexikon&file=search&eid=1&query=register">register and an assignment to a ef="module.php?name=Lexikon&file=search&eid=1&query=load">load or ef="module.php?name=Lexikon&file=search&eid=1&query=store">store ef="module.php?name=Lexikon&file=search&eid=1&query=machine code">machine code operation. A variable is usually defined to have a ef="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 ef="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 ef="module.php?name=Lexikon&file=search&eid=1&query=index">index. Languages may be ef="module.php?name=Lexikon&file=search&eid=1&query=untyped">untyped, ef="module.php?name=Lexikon&file=search&eid=1&query=weakly typed">weakly typed, ef="module.php?name=Lexikon&file=search&eid=1&query=strongly typed">strongly typed, or some combination. ef="module.php?name=Lexikon&file=search&eid=1&query=Object-oriented programming">Object-oriented programming languages extend this to ef="module.php?name=Lexikon&file=search&eid=1&query=object">object types or ef="module.php?name=Lexikon&file=search&eid=1&query=classes">classes. A variable' s ef="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 ef="module.php?name=Lexikon&file=search&eid=1&query=local variables">local variables and ef="module.php?name=Lexikon&file=search&eid=1&query=global variables">global variables. ef="module.php?name=Lexikon&file=search&eid=1&query=Subroutine">Subroutine and ef="module.php?name=Lexikon&file=search&eid=1&query=function">function ef="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 ef="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)

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






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (10304 Reads)

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

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