Category:Arturo: Difference between revisions
Content deleted Content added
Drkameleon (talk | contribs) m updated description |
Drkameleon (talk | contribs) m minor edit |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 15:
* No reserved words or keywords - look for them as hard as you can; there are absolutely none
<syntaxhighlight lang="arturo">
factorial: function [n][
if? n > 0 -> n * factorial n-1
else -> 1
] ▼
loop 1..
print ["Factorial of" x "=" factorial x]
</syntaxhighlight>
▲]
===Implementation===
Line 33 ⟶ 34:
===Todo===
[[Tasks not implemented in Arturo]]
{{language programming paradigm|Concatenative}}
{{language programming paradigm|Declarative}}
{{language programming paradigm|Dynamic}}
{{language programming paradigm|Functional}}
|