OpenersNotesSection(Spacer1)Details

This message is generated when the attributes specified in (RefLink[Function, paclet:ref/Function]) are not valid.

Attributes for a (RefLink[Function, paclet:ref/Function]) expression are specified in the optional third argument of (RefLink[Function, paclet:ref/Function]).

Valid attributes in (RefLink[Function, paclet:ref/Function]) are (RefLink[Flat, paclet:ref/Flat]), (RefLink[Listable, paclet:ref/Listable]), (RefLink[Orderless, paclet:ref/Orderless]), (RefLink[HoldAll, paclet:ref/HoldAll]), (RefLink[NHoldAll, paclet:ref/NHoldAll]), (RefLink[SequenceHold, paclet:ref/SequenceHold]), and (RefLink[HoldAllComplete, paclet:ref/HoldAllComplete]).

(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])[Function::attf].

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

(RefLink[Locked, paclet:ref/Locked]) is not a valid attribute for a (RefLink[Function, paclet:ref/Function]) expression:

Function[x,List[x],Locked][{1,2,3}]

This shows a valid use of an attribute in (RefLink[Function, paclet:ref/Function]):

Function[x,List[x],Listable][{1,2,3}]

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