[REBOL] Re: Compression
From: joel:neely:fedex at: 27-Jun-2001 1:38
Hi, Louis,
Try using the same file you just decompressed! ;-)
Dr. Louis A. Turk
wrote:
> Hi everybody,
>
> This works:
>
> write/binary %/a/data.r compress read/binary %data.r
>
> But this produces an error message immediately when I do
> the program:
>
> write/binary %data.r decompress read/binary %/a/data.r
>
> >> do %db.r
> ** Syntax Error: Missing [ at end-of-block
> ** Near: (line 2) YÓ]@£ú?ê$±?Ö¸uvôíy?'EQ$Ï\füb#ºí
> w»y?ÓßW¸,GT
>
> print %data.r decompress read/binary %/a/data.r
>
> works fine.
>
> What is causing the error message?
>
Your transcript shows me that
%data.r -(compress)-> %/a/data.r -(decomp)-> %data.r
after which you try to
do %db.r
which isn't any of the above files. What's in db.r???
-jn-
--
------------------------------------------------------------
Programming languages: compact, powerful, simple ...
Pick any two!
joel'dot'neely'at'fedex'dot'com