Damm algorithm: Difference between revisions
Content added Content deleted
No edit summary |
Drkameleon (talk | contribs) |
||
Line 416: | Line 416: | ||
=={{header|Arturo}}== |
=={{header|Arturo}}== |
||
<lang rebol> |
<lang rebol>; by @Krenium |
||
table: [ |
|||
[0 3 1 7 5 9 8 6 4 2] |
[0 3 1 7 5 9 8 6 4 2] |
||
[7 0 9 2 1 5 4 8 6 3] |
[7 0 9 2 1 5 4 8 6 3] |
||
Line 429: | Line 431: | ||
] |
] |
||
digits: |
digits: function [x][map split x => [to :integer]] |
||
⚫ | |||
⚫ | |||
test: function [str][ |
test: function [str][ |