Category:Arturo: Difference between revisions
m
added better intro example
Drkameleon (talk | contribs) m (updated description) |
Drkameleon (talk | contribs) m (added better intro example) |
||
Line 16:
<lang rebol>
factorial: function [n][
if? n > 0 -> n * factorial n-1
else -> 1
] ▼
loop 1..
print ["Factorial of" x "=" factorial x]
</lang>
▲]
===Implementation===
|