summaryrefslogtreecommitdiff
path: root/packages/fcl-base/examples/testunzip.pp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/fcl-base/examples/testunzip.pp')
-rw-r--r--packages/fcl-base/examples/testunzip.pp30
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/fcl-base/examples/testunzip.pp b/packages/fcl-base/examples/testunzip.pp
new file mode 100644
index 0000000000..4e3d113700
--- /dev/null
+++ b/packages/fcl-base/examples/testunzip.pp
@@ -0,0 +1,30 @@
+{
+ $Id: header,v 1.1 2000/07/13 06:33:45 michael Exp $
+ This file is part of the Free Component Library (FCL)
+ Copyright (c) 1999-2000 by the Free Pascal development team
+
+ See the file COPYING.FPC, included in this distribution,
+ for details about the copyright.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ **********************************************************************}
+{$mode objfpc}
+{$h+}
+Program testunzip;
+
+uses Classes,Zipper;
+
+Var
+ I : Integer;
+
+begin
+ With TUnZipper.Create do
+ try
+ UnZipAllFiles(ParamStr(1));
+ Finally
+ Free;
+ end;
+end. \ No newline at end of file