Optional parameters: Difference between revisions

Replace println() with print(); replace output "syntaxhighlight" tag with "pre" tag
(Add Ecstasy example)
(Replace println() with print(); replace output "syntaxhighlight" tag with "pre" tag)
Line 918:
{
@Inject Console console;
console.printlnprint($"{title}:");
for (val row : table)
{
console.printlnprint($" {row}");
}
console.printlnprint();
}
}
</syntaxhighlight>
 
{{out}}
Output:
<pre>
<syntaxhighlight>
original input:
[c, x, i]
Line 949:
[c, x, i]
[b, z, a]
</pre>
</syntaxhighlight>
 
=={{header|Elixir}}==
162

edits