OpenersNotesSection(Spacer1)Details

This message is generated when the second argument in (RefLink[RotateLeft, paclet:ref/RotateLeft]) or (RefLink[RotateRight, paclet:ref/RotateRight]) does not have the expected form.

(RefLink[Off, paclet:ref/Off])[message] switches off the message; (RefLink[On, paclet:ref/On])[message] switches it on. For example: (RefLink[Off, paclet:ref/Off])[RotateLeft::rspec].

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

An error occurs because the second argument is a symbol:

RotateRight[{1,2,3,4,5,6,7},RotateRight]

This shows a valid rotation specification in (RefLink[RotateRight, paclet:ref/RotateRight]):

RotateRight[{1,2,3,4,5,6,7},2]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[RotateLeft, paclet:ref/RotateLeft])  ▪  (RefLink[RotateRight, paclet:ref/RotateRight])}})}})