Anonymous user
Run-length encoding: Difference between revisions
m
→[[Run-length_encoding#ALGOL 68]]: fix gramma in text
m (→[[Run-length_encoding#ALGOL 68]]: fix gramma in text) |
|||
Line 54:
{{works with|ALGOL 68G|Any - tested with release mk15-0.8b.fc9.i386}}
<!-- {{does not works with|ELLA ALGOL 68|Any (with appropriate job cards) - tested with release 1.8.8d.fc9.i386 - does not have currying}} -->
Note: The following uses iterators, eliminating the need
<lang algol>STRING input := "WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWBWWWWWWWWWWWWWW";
STRING output := "12W1B12W3B24W1B14W";
|