A+B: Difference between revisions

Content added Content deleted
(Added XBasic)
Line 2,630: Line 2,630:


=={{header|EMal}}==
=={{header|EMal}}==
<syntaxhighlight lang="ecmascript">
<syntaxhighlight lang="emal">
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: "))