ISBN13 check digit: Difference between revisions
Content added Content deleted
m (→{{header|Wren}}: Changed to Wren S/H) |
Langurmonkey (talk | contribs) |
||
Line 1,942: | Line 1,942: | ||
=={{header|langur}}== |
=={{header|langur}}== |
||
{{works with|langur|0.8.11}} |
|||
In this example, we map to multiple functions (actually 1 no-op). |
In this example, we map to multiple functions (actually 1 no-op). |
||
<syntaxhighlight lang="langur">val .isbn13checkdigit = f(var .s) { |
<syntaxhighlight lang="langur">val .isbn13checkdigit = f(var .s) { |
||
Line 1,963: | Line 1,962: | ||
}</syntaxhighlight> |
}</syntaxhighlight> |
||
{{works with|langur|0.9.0}} |
|||
In this example, we set a for loop value as it progresses. |
In this example, we set a for loop value as it progresses. |
||
<syntaxhighlight lang="langur">val .isbn13checkdigit = f(var .s) { |
<syntaxhighlight lang="langur">val .isbn13checkdigit = f(var .s) { |