Name
zip.GetFileComment -- get file comment
Synopsis
c$ = zip.GetFileComment(id[, idx])
Function
This function can be used to get the comment of a file inside the zip archive specified by id or of the whole zip archive. If the optional parameter idx is specified, zip.GetFileComment() retrieves the comment of the file at that index. If the idx parameter is omitted or set to -1, the comment of the zip archive itself is returned.

This function can also operate on directories. See Zip archive basics for details.

Inputs
id
identifier of the zip archive to use
idx
optional: index of file whose comment should be obtained; if this is omitted or set to -1, the comment of the whole archive is returned (defaults to -1)
Results
c$
file comment or empty string if there is no comment

Show TOC