[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'zlibar' (#archive)

TZlibFilesList.Add

Add a File to be compressed

Declaration

Source position: zlibar.pas line 54

public function TZlibFilesList.Add(

  AFileName: String

):Integer;

Arguments

AFileName

  

Fully qualified FileName to be added

Function result

The index of the filename in the list

Description

Should be a fully qualified filename. Stored in the archive as just the filename without paths. To set a releative path for the file use AddPath.

See also

TZlibFilesList.AddPath

  

Adds a FileName and a relative path

TZlibFilesList.Insert

  

Used to insert a file to be compressed into the list at a specific index