A+B: Difference between revisions

Content added Content deleted
imported>PauliKL
Line 2,598: Line 2,598:


=={{header|EMal}}==
=={{header|EMal}}==
<syntaxhighlight lang="emal">
<syntaxhighlight lang="ecmascript">
fun main = int by List args
fun main = int by List args
text input = when(args.length == 1, args[0], ask(text, "Enter n integers separated by a space: "))
text input = when(args.length == 1, args[0], ask(text, "Enter n integers separated by a space: "))