LZW compression: Difference between revisions
m
→{{header|Mathematica}}
m (→{{header|Phix}}: added syntax colouring the hard way) |
|||
Line 3,558:
</pre>
=={{header|Mathematica}}/{{header|Wolfram Language}}==
{{trans|Ruby}}
<lang>compress[uncompressed_] :=
Line 3,599:
{{Out}}
<pre>{"T", "O", "B", "E", "O", "R", "N", "O", "T", 256, 258, 260, 265, 259, 261, 263}
"TOBEORNOTTOBEORTOBEORNOT"</pre>
|