Category:AntLang: Difference between revisions

Content added Content deleted
No edit summary
Line 21: Line 21:


=== Factorial ===
=== Factorial ===
<source lang="J">
factorial:{1 */ 1+range[x]}
factorial:{1 */ 1+range[x]}
</source>


The times-reduction (*/) with the accumulator value 1 over the list 1+range[x].
The times-reduction (*/) with the accumulator value 1 over the list 1+range[x].