ExaminePack()

Syntax

Result = ExaminePack(#Pack)
Description
Start to examine the pack content. NextPackEntry() has to be called to list the entries found in the pack file. The pack has to be previously opened with OpenPack(). Packs being created with CreatePack() can not be examined.

Parameters

#Pack The pack to use.

Return value

Nonzero if the pack can be examined, zero otherwise.

Example

  UseZipPacker()

  ; Open the packed file
  If OpenPack(0, "mycompressedfiles.zip") 
    
    ; List all the entries
    If ExaminePack(0)
      While NextPackEntry(0)
        Debug "Name: " + PackEntryName(0) + ", Size: " + PackEntrySize(0)
      Wend
    EndIf
    
    ClosePack(0)
  EndIf

See Also

OpenPack(), NextPackEntry()

Supported OS

All

<- CreatePack() - Packer Index - NextPackEntry() ->