benr_mc at cogapp.com
Fri Jun 28 11:57:01 CDT 2002
on 28/6/02 2:38 pm, Rob Cozens at rcozens at pon.net wrote:
> Chipp wants a compressed folder, not individual compressed files.
> The Rev Dictionary says compress works on a string. How do you
> obtain a string containing a folder & its contents?
Apologies, failed to notice this.
Rev does not provide (AFAIK) an implementation of the (defacto) standard zip
archive, only of the compression algorithm on which that is built. So if
the folder is to be decompressed by another program built in Rev, that's
fine; you can define is own format for packing a bunch of files, plus
whatever information you want to recover, into a single structure and then
If it's to be decompressed by a third-party program, and so you want a
'standard' zip archive, then you either need to get the format for that (no
idea if it's published, but it might be) and implement it.... or on MacOS
use an external utility via AppleScript.... or you're out of luck.
Ben Rubinstein | Email: benr_mc at cogapp.com
Cognitive Applications Ltd | Phone: +44 (0)1273-821600
http://www.cogapp.com | Fax : +44 (0)1273-728866
More information about the use-livecode