ExaminePack()

语法

Result = ExaminePack(#Pack)
概要
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.

参数

#Pack The pack to use.

返回值

Nonzero if the pack can be examined, zero otherwise.

示例

  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

参阅

OpenPack(), NextPackEntry()

已支持操作系统

所有

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