COMPRESS
  

Creates a ZIP file.

SYNTAX

COMPRESS [ FILES ] <aFiles>
TO <
cZipFile>
BLOCK
<bBlock>
FILEPROGRESS {|nPos, nTotal| ProgressFile(nPos, nTotal)}
[ LEVEL <
nLevel> ]
[ OVERWRITE ]

[ STOREPATH ]
[ PASSWORD <
cPassword> ]

COMPRESS [ FILES ] <aFiles>
TO <
cZipFile>
BLOCK <
bBlock>
FILEPROGRESS {|nPos, nTotal| ProgressFile(nPos, nTotal)}
RESULT <
lSuccess>

NOTE:
<
bBlock>   =>  {| cFile, nPos | ProgressUpdate(cFile, nPos)}