Hold
Hold[expr]
prevents automatic evaluation of expr
.
Attributes[Hold] := {HoldAll, Protected}
Simple examples
In[1]:= Hold[Power[5, 3]] Out[1]= Hold[5^3]
In[2]:= Hold[Power[5., 3.]] Out[2]= Hold[5.^3.]
Hold[expr]
prevents automatic evaluation of expr
.
Attributes[Hold] := {HoldAll, Protected}
In[1]:= Hold[Power[5, 3]] Out[1]= Hold[5^3]
In[2]:= Hold[Power[5., 3.]] Out[2]= Hold[5.^3.]