Name
zip.GetFileAtIndex -- get name of file by index
Synopsis
name$ = zip.GetFileAtIndex(id, idx)
Function
This function returns the name of the file at index idx in the zip archive specified by id. If the name returned by this function ends with a slash, it is a directory, otherwise it is a file. See Zip archive basics for details.

To find out the number of files in a zip archive, you can query #ZIPATTRNUMENTRIES with Hollywood's GetAttribute() function. See zip.GetObjectType for details.

Inputs
id
identifier of the zip archive to use
idx
index to query (in the range of 0 to number of entries minus 1)
Results
name$
name of entry at index

Show TOC