Variadic function: Difference between revisions
m
→{{header|J}}
No edit summary |
m (→{{header|J}}) |
||
Line 1,440:
commaAnd 'dog';A;B;'cat';C
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):
<lang J> echo&>'dog';A;B;'cat';C
dog
2
3
cat
5</lang>
=={{header|Java}}==
|