<doc>
  <legacy_id>3015</legacy_id>
  <name>revZipOpenArchive</name>
  <type>command</type>
  <syntax>
    <example>revZipOpenArchive <i>archivePath</i>, <i>mode</i></example>
  </syntax>
  <library>Zip Library</library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Text and Data Processing</category>
  </classification>
  <references>
    <command tag="revZipAddItemWithData">revZipAddItemWithData Command</command>
    <command tag="revZipCloseArchive">revZipCloseArchive Command</command>
    <command tag="revZipDeleteItem">revZipDeleteItem Command</command>
    <command tag="revZipExtractItemToVariable">revZipExtractItemToVariable Command</command>
    <command tag="revZipAddUncompressedItemWithData">revZipAddUncompressedItemWithData Command</command>
    <command tag="revZipAddUncompressedItemWithFile">revZipAddUncompressedItemWithFile 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>Opens a zip archive for processing in LiveCode.</summary>
  <examples>
    <example>revZipOpenArchive tArchive, tMode</example>
    <example>revZipOpenArchive the cArchive of me, "read"</example>
  </examples>
  <description>
    <p>Use the <b>revZipOpenArchive</b> command to load a zip archive into memory and make it available for processing. This command needs to be issued before trying to get any information from, or make any changes to, an archive. </p><p/><p>The <b>revZipOpenArchive</b> command should be followed by a matching <command tag="revZipCloseArchive">revZipCloseArchive</command> command, once the archive is no longer needed. Any changes made to an archive will not be written to disk until <command tag="revZipCloseArchive">revZipCloseArchive</command> is called.</p><p/><p><b>Parameters:</b></p><p>The <i>archivePath</i> is the absolute path to the zip archive to open.</p><p>The <i>mode</i> is one of the following:</p><p>	read: to open an existing archive for reading.</p><p>	write: to create a new archive for writing to.</p><p>	update: to open an existing or new archive for writing to.</p><p/><p>If <b>revZipOpenArchive</b> encounters an error, the result is set to an error code beginning with "ziperr", otherwise the result will be empty.</p>
  </description>
</doc>