Jump to content

Run-length encoding: Difference between revisions

m
(Applesoft BASIC)
imported>Arakov
Line 2,346:
 
=={{header|Elena}}==
ELENA 46.x :
<syntaxhighlight lang="elena">import system'text;
import system'routines;
Line 2,359:
int count := 0;
char current := s[0];
s.forEach::(ch)
{
if (ch == current)
Line 2,383:
char current := $0;
var a := new StringWriter();
s.forEach::(ch)
{
current := ch;
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.