RLE encode/decode procs
Posted: Fri Sep 22, 2023 4:36 pm
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.
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.