The inverse of "compress" is "expand":

   1 1 0 1 # 'help'
hep
   1 1 0 1 #^:_1 ] 'hep'
he p

It's not a true inverse as it cannot restore lost information so puts
the (type-appropriate) fill character in the expansion places.

On Thu, Jun 21, 2012 at 11:27 AM, David Vaughan <purpleblue...@gmail.com> wrote:
> Thanks, this seems to work, however I am a little confused about what #inv
> (#^:_1) actually does - could you explain that please?

-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to