Loops/Wrong ranges: Difference between revisions

m
updated expected output
(→‎{{header|Arturo}}: updated as invalid increments are now corrected or ignored (no error))
m (updated expected output)
Line 283:
</syntaxhighlight>
{{out}}
<pre>start stop increment
-2 2 1 -> [-2 -1 0 1 2]
-2 2 0 -> [-2Error -1 0 1 2]
-2 2 -1 -> [-2 -1 0 1 2]
-2 2 10 -> [-2]
2 -2 1 -> [2 1 0 -1 -2]
2 2 1 -> [2]
2 2 -1 -> [2]
2 2 0 -> [2]Error
0 0 0 -> [0]Error</pre>
 
=={{header|AWK}}==
1,532

edits