[REBOL] Re: Compression
From: joel:neely:fedex at: 27-Jun-2001 1:47
Hi, Brett,
Brett Handley wrote:
> Hi Louis,
>
> > It might be the second possibility. If I type the following
> > at the command prompt it works:
> >
> > write/binary %data.r decompress read/binary %/a/data.r
>
> Ok this is the real problem - you use the same name for the
> uncompressed version as you do for the compressed version.
> Logically it works but in practise it is not a good idea.
>
That would be true only if he had actually done
change-dir %/a/
prior to the line above. If REBOL still thought the current
directory were anywhere else, then the line above uses the
same name
but in a different directory. Thus it wouldn't be
the real problem.
Please see my response to Louis for what I believe to be the
real source of his difficulties.
-jn-
------------------------------------------------------------
Programming languages: compact, powerful, simple ...
Pick any two!
joel'dot'neely'at'fedex'dot'com