Decompression question

Kevin Miller kevin at runrev.com
Sun Feb 3 19:35:00 EST 2002


On 31/1/02 1:43 pm, Tim <tim11 at bellatlantic.net> wrote:

> Well, I've tried it, but no go. If I use the above script I get a "value"
> error in the script editor.
> 
> If I try:
> 
> put decompress(url ("binfile:" & tUrl)) into tStackData
> 
> I get the familiar message decompress: string is not compressed data.
> 
> So, either way it doesn't work. Very confusing.

This definitely does work.  The data you are trying to decompress must not
be compressed data.  Is it possible that your script is either unable to
download the file, or the file was originally not saved using the "binfile"
syntax but converted to text?

Kevin

Kevin Miller <kevin at runrev.com> <http://www.runrev.com/>
Runtime Revolution Limited - Power to the Developer!
Tel: +44 (0) 870 747 1165.  Fax: +44 (0)1639 830 707.




More information about the use-livecode mailing list