This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Programming / Assignments /

UpSet

FilledSmallSquare lhs^=rhs assigns rhs to be the value of lhs, and associates the assignment with symbols that occur at level one in lhs.

FilledSmallSquare f[g[x]]=value makes an assignment associated with f. f[g[x]]^=value makes an assignment associated instead with g.

FilledSmallSquare UpSet associates an assignment with all the distinct symbols that occur either directly as arguments of lhs, or as the heads of arguments of lhs.

FilledSmallSquare See Section 2.5.10 and Section A.5.2.

FilledSmallSquare See also: TagSet, UpValues.

FilledSmallSquare New in Version 1.