Jump to content

Loops/Downward for: Difference between revisions

m
Line 1,323:
J is array-oriented, so there is very little need for loops. For example, one could satisfy this task this way:
 
<syntaxhighlight lang=J> ,. i. -11
10
9
8
7
6
5
4
3
2
1
0
</syntaxhighlight>
 
J does support loops for those times they can't be avoided (just like many languages support gotos for those time they can't be avoided).
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.