Variadic function: Difference between revisions
m
→{{header|Mathematica}}
m (Updated description and link for Fōrmulæ solution) |
|||
Line 1,766:
</pre>
=={{header|Mathematica}}/{{header|Wolfram Language}}==
Function that takes 0 to infinite arguments and prints the arguments:
<lang Mathematica>ShowMultiArg[x___] := Do[Print[i], {i, {x}}]</lang>
|