Variadic function: Difference between revisions

Replace println() with print(); replace output "syntaxhighlight" tag with "pre" tag
(Replace println() with print(); replace output "syntaxhighlight" tag with "pre" tag)
Line 1,036:
{
@Inject Console console;
strings.forEach(s -> console.printlnprint(s));
}
 
Line 1,052:
</syntaxhighlight>
 
{{out}}
Output:
<pre>
<syntaxhighlight>
hello
world
Line 1,060:
constant
literal
</pre>
</syntaxhighlight>
 
=={{header|Egel}}==
162

edits