DOCUMENTATION CENTER SEARCH
Mathematica
>
Assignments
>
Built-in
Mathematica
Symbol
Special Forms of Assignment
Tutorials »
|
Increment
PreIncrement
Set
PrependTo
Plus
TimesBy
See Also »
|
Assignments
Procedural Programming
More About »
AddTo
(+=)
x
+=
dx
adds
dx
to
x
and returns the new value of
x
.
MORE INFORMATION
AddTo
has the attribute
HoldFirst
.
x
+=
dx
is equivalent to
x
=
x
+
dx
.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
In[1]:=
Out[1]=
In[2]:=
Out[2]=
Scope
(3)
Applications
(1)
Properties & Relations
(4)
Possible Issues
(1)
SEE ALSO
Increment
PreIncrement
Set
PrependTo
Plus
TimesBy
TUTORIALS
Special Forms of Assignment
MORE ABOUT
Assignments
Procedural Programming
New in 1
© 2008 Wolfram Research, Inc.