PRODUCTS
PURCHASE
FOR USERS
COMPANY
OUR SITES
DOCUMENTATION CENTER SEARCH
Mathematica
>
Attributes
>
Built-in
Mathematica
Symbol
Flat and Orderless Functions
Attributes
Tutorials »
|
Attributes
ClearAttributes
Protect
See Also »
|
Attributes
More About »
SetAttributes
SetAttributes
[
s
,
attr
]
adds
attr
to the list of attributes of the symbol
s
.
MORE INFORMATION
SetAttributes
modifies
Attributes
[
s
]
.
SetAttributes
[
s
, {
attr
1
,
attr
2
,
...
}]
sets several attributes at a time.
SetAttributes
[{
s
1
,
s
2
,
...
},
attrs
]
sets attributes of several symbols at a time.
SetAttributes
has the attribute
HoldFirst
.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
In[1]:=
In[2]:=
Out[2]=
In[1]:=
In[2]:=
Out[2]=
Scope
(3)
Properties & Relations
(6)
Neat Examples
(1)
SEE ALSO
Attributes
ClearAttributes
Protect
TUTORIALS
Flat and Orderless Functions
Attributes
MORE ABOUT
Attributes
New in 1
© 2008 Wolfram Research, Inc.