AGK for Pascal
TAgkZip.Create Constructor

Creates a zip file at the specified location and opens it ready for files to be added.

constructor Create(const Owner: TAgkObject; const Filename: String);
const Owner: TAgkObject 
the owner of the zip object (eg. a TAgkScene object). 
const Filename: String 
The file name and path for this new zip file. 

Files cannot be read or extracted from a zip file using this constructor. Use the Extract class method to retrieve files from it. 

The file path is relative to the current directory set using TAgkDirectory.CurrentFolder unless you start the path with a forward slash, in which case the path will be relative to the root of the write directory on the current platform.

Copyright (c) 2012. All rights reserved.