AW: mysterious Byte increasment with compress - decompress

Tiemo Hollmann TB toolbook at
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:
But where to start this list and where to end?
Thank you

> 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:
> Email: eric.chatonet at
> ----------------------------------------------------------------

More information about the use-livecode mailing list