home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
w3_prog
/
stream11.arj
/
COMPRESS.PAS
next >
Wrap
Pascal/Delphi Source File
|
1992-03-27
|
2KB
|
71 lines
program Compress;
{ Program to demonstrate use of TLZWFilter }
uses
objects,streams;
procedure SyntaxExit(s:string);
begin
writeln;
writeln(s);
writeln;
writeln('Usage: COMPRESS Sourcefile Destfile [/X]');
writeln(' will compress the source file to the destination');
writeln(' file, or if /X flag is used, will expand source to destination.');
halt(99);
end;
var
Source : PStream; { We don't know in advance which will be compressed }
Dest : PStream;