compressing data

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Preston Shea
Posts: 73
Joined: Sat Apr 08, 2006 6:51 pm

compressing data

Post by Preston Shea » Wed Jan 07, 2009 9:51 pm

I'm returning to Rev after a while and I've forgotten how to compress a large file like a dictionary or array to save space. This isn't the same thing as zipping a file to send it (or is it)?
In nova fert animus mutatas dicere formas corpora.

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Wed Jan 07, 2009 11:19 pm

Well, there's the compress function, which returns the contents of a variable in gzcompressed format. But if you're looking to compress and decompress files, you would probably use the revZip commands.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Post Reply