OpenersNotesSection(Spacer1)Details

This message is generated when the number of arguments passed to a (RefLink[CompiledFunction, paclet:ref/CompiledFunction]) expression does not match the expected number of arguments.

(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])[CompiledFunction::cfct].

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

The (RefLink[CompiledFunction, paclet:ref/CompiledFunction]) expression constructed by (RefLink[Compile, paclet:ref/Compile]) expects two arguments:

cf=Compile[{p,q},p+q]

cf[2]

Compiled evaluation proceeds without error if the required number of arguments is given:

cf[2,3]

Clear the value of cf:

Clear[cf]

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