AW: mysterious Byte increasment with compress - decompress

Tiemo Hollmann TB toolbook at kestner.de
Thu Nov 27 04:17:55 EST 2008


Uups, good point! :)
If I want to build a generic compress and decompress handler, what is the
best way to check, if I get a file or binfile as the input? Would be
checking the file extension a good idea? Txt, xml, html: file and Rev, exe:
binfile?
But where to start this list and where to end?
Thank you
Tiemo

> 
> Bonjour Tiemo,
> 
> A file stack is a binary file:
> put compress(url ("binfile:" & it)) into url ("binfile:" & it & ".gz")
> 
> Best regards from Paris,
> Eric Chatonet.
> ----------------------------------------------------------------
> Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
> Email: eric.chatonet at sosmartsoftware.com/
> ----------------------------------------------------------------
> 




More information about the use-livecode mailing list