[REBOL] Re: Compression
From: brett:codeconscious at: 27-Jun-2001 12:27
Hi Louis,
Two possibilities.
1) Check that you have not accidently compressed %db.r itself.
2) I note from one of your earlier script that the load-data function has
the following line:
data: load/all db-file
Which attempts to load without decompressing - maybe that is your problem.
Brett.
----- Original Message -----
From: "Dr. Louis A. Turk" <[louisaturk--eudoramail--com]>
To: <[rebol-list--rebol--com]>
Sent: Wednesday, June 27, 2001 12:48 PM
Subject: [REBOL] Compression
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]@$'ָuvyz'EQ$\fb#
wyzW,GT
print %data.r decompress read/binary %/a/data.r
works fine.
What is causing the error message?
Louis