Run-length encoding: Difference between revisions

m
Line 2,205:
 
<syntaxhighlight lang="easylang">
proc encencode in$ . out$ .
out$ = ""
for c$ in strchars in$
Line 2,220:
out$ &= cnt & c0$
.
proc decdecode in$ . out$ .
out$ = ""
for h$ in strsplit in$ " "
Line 2,229:
.
.
call encencode input r$
print r$
call decdecode input r$
print r$
#
Line 2,239:
 
</syntaxhighlight>
 
 
=={{header|Elena}}==
2,058

edits