Variadic function: Difference between revisions
Content added Content deleted
m (→{{header|J}}) |
m (→{{header|J}}) |
||
Line 1,441: | Line 1,441: | ||
dog, 2, 3, cat and 5</lang> |
dog, 2, 3, cat and 5</lang> |
||
To print each argument on its own line, we would typically map echo over the arguments (in this example, the contents of each box): |
To print each argument on its own line, we would typically map <code>echo</code> over the arguments (in this example, the contents of each box): |
||
<lang J> echo&>'dog';A;B;'cat';C |
<lang J> echo&>'dog';A;B;'cat';C |