<doc>
  <legacy_id>3014</legacy_id>
  <name>revZipEnumerateItems</name>
  <type>function</type>
  <syntax>
    <example>revZipEnumerateItems(<i>archivePath</i>)</example>
  </syntax>
  <library>Zip Library</library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Text and Data Processing</category>
  </classification>
  <references>
    <command tag="revZipDeleteItem">revZipDeleteItem Command</command>
    <command tag="revZipExtractItemToVariable">revZipExtractItemToVariable Command</command>
  </references>
  <history>
    <introduced version="2.7.3">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
    <disk access="???"/>
    <network/>
  </security>
  <summary>Lists the items in a zip archive.</summary>
  <examples>
    <example>put revZipEnumerateItems(tArchive) into tItems</example>
    <example>if "myZippedItem" is among the lines of revZipEnumerateItems(tArchive) then </p><p>  beep</p><p>end if</example>
  </examples>
  <description>
    <p>Use the <b>revZipEnumerateItems</b> function to obtain a list of the items currently in an open zip archive. The archive must first have been opened with the <command tag="revZipOpenArchive">revZipOpenArchive command</command>.</p><p/><p><b>Parameters:</b></p><p>The <i>archivePath</i> is the absolute path to the archive to list items in</p><p/><p><b>Value:</b></p><p>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 <b>revZipEnumerateItems</b> will return empty.</p>
  </description>
</doc>