Skip to main content

revZipEnumerateItems

Type​

function

Summary​

Lists the items in a zip archive.

Syntax​

revZipEnumerateItems(<archivePath>)

Description​

Use the revZipEnumerateItems function to obtain a list of the items currently in an open zip archive. The archive must first have been opened with the revZipOpenArchive command.

Parameters​

NameTypeDescription

archivePath

The absolute path to the archive to list items in

Examples​

put revZipEnumerateItems(tArchive) into tItems
if "myZippedItem" is among the lines \
of revZipEnumerateItems(tArchive) then
beep
end if

Value​

NameTypeDescription

return

This function returns a list of item names, one per line, in the archive. If the archive is empty, or an error has occurred then revZipEnumerateItems will return empty.

command: revZipDeleteItem, revZipExtractItemToVariable, revZipOpenArchive

glossary: command

Compatibility and Support​

Introduced

LiveCode 2.7.3

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?