Set
lhs = rhs
sets lhs
to stand for rhs
.
Attributes[Set] := {HoldFirst, Protected, SequenceHold}
Simple examples
Further examples
Set
has the HoldFirst
attribute, meaning rhs
is evaluated before assignment:
SetDelayed
has the HoldAll
attribute, meaning rhs
is not evaluated during assignment: