problems decompressing files

Rob Cozens rcozens at
Fri Sep 12 18:03:02 CDT 2003

>perhaps you are using the "URL" keyword with a file. I haven't used 
>"URL", might you have a script with "URL" that I could test?

Hi Robert,

Yes, "@@@@@@@@@@@@@" gives a decompression error from the Menu Box

Yes, I'm using get/put URL

No, I'm not getting decompression errors

I just created a text file with 13 "@"s and compressed/decompressed 
it without error using SDB Utilities.

on menuPick thePick
   switch thePick
   case compressFile
       if sourceResource is empty then put 
compress(sourceData&dataSuffix) into compressedData
       else put compress(sourceData&sourceResource&dataSuffix) into 
       put compressedData into URL compressedFile
   case expandFile
       put "binfile:"&it into compressedFile
       put decompress(URL compressedFile) into expandedData
   end switch
end menuPick

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)

More information about the use-livecode mailing list