problems decompressing files

Dar Scott dsc at swcp.com
Thu Sep 11 22:02:01 EDT 2003


On Thursday, September 11, 2003, at 06:06 AM, T. R. Ponn wrote:

> Tim Ponn...the guy who thought turning 1 file into 1,000,000 files was 
> a good approach. :-[

But, if one is interested in compression and not in making standard 
file, your idea of breaking up the file might have merit.  Break it up. 
  Try to compress and test decompress each part wrapping with try/catch. 
  If the decompress fails save that uncompressed.  The file might be a 
series of sub files each with a length prefix and a compressed-or-not 
flag.

Or, since recursion is the current watchword, the enhancement that 
breaks up a file like this recursively is left as an exercise.

Dar Scott






More information about the use-livecode mailing list