Function WriteToFile(var buf; n: integer): integer; var num: word; Begin BlockWrite(f1,buf,n,num); End;
{$F-}
Begin if not GetMemory then Begin WriteLn('Not enough memory in HEAP to compress file.'); halt; End; s:=paramstr(1); SetEncodeOutBuffer(@WriteToFile); assign(f,s); {$I-} if s<>'' then Reset(f,1); {$I+} if (IoResult<>0) or (s='') then Begin WriteLn; WriteLn('The author of this Turbo Pascal program and original C++ code is');