home *** CD-ROM | disk | FTP | other *** search
/ Computer Installation Guide - Dragon Clan Series / CD2.iso / ZIP / WWPACK / WWP304 / PASCAL / WWP_CRC.DOC < prev    next >
Encoding:
Text File  |  1996-01-05  |  1.1 KB  |  37 lines

  1.  
  2.  
  3.           WWP_CRC 1.0 unit                  for Turbo Pascal 6.0, 7.0
  4.  
  5.           Copyright (c) 1995-96 by Piotr Warezak and Rafal Wierzbicki
  6.  
  7.           6 January 1996      Lodz, Poland        All Rights Reserved
  8.  
  9.  
  10.  
  11.    Here is a description of the function implemented in the WWP_CRC 1.0 unit:
  12.  
  13. function check_crc(var pl:file):byte;
  14.      function checks CRC of the assigned and opened file;
  15.      returns byte:
  16.        0 - CRC OK;
  17.        1 - bad CRC. File probably damaged;
  18.        2 - error while reading the file;
  19.        3 - the file is not EXE structure.
  20.  
  21.      Warning: the file that you want to check must be EXE structure and
  22.        it HAS TO BE packed with WWPACK 3.03 or 3.04 with 'P', 'PU', or
  23.        'PP' command!
  24.  
  25.      HINT: Please use check_if_packed function before using WWP_CRC module
  26.        to be sure, that the file is compressed with WWPACK 3.03 or 3.04.
  27.  
  28.  
  29.  
  30. WWP_CRC unit is saved in two files. Please choose one:
  31.  
  32.   WWP_CRC.TPU for Turbo Pascal 7.0
  33.   WWP_CRC.T60 for Turbo Pascal 6.0  (rename to WWP_CRC.TPU)
  34.  
  35.  
  36. End of the documentation file.
  37.