Page 1 of 1

RLE encode/decode procs

Posted: Fri Sep 22, 2023 4:36 pm
by okto
Don't know if these will be any use to anyone, but I translated the BBC BASIC RLE algorithm on Rosetta Code to OPL.

Barely counts as translating, I didn't realize how close to being a subset of BBC BASIC OPL is!

RLE$ is the encoder, RLD$ is the decoder. Usage should be apparent.