Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Fast Library For Clipper 3.02 Reference - <b>zipfile()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    ZipFile()

         Returns the contents of the ZIP file

    Syntax:

         ZipFile ( cFile ) -> aZIP

         cFile : The name of the ZIP file

    Description:

         Returns a bidimensional array with information about the contents
         of ZIP file.
         The subarrays have the following format:

         {
           { cName, cFull, dDate, cTime, nSize, nComp, cRatio, cMeth, nNum }
           ...
           { cName, cFull, dDate, cTime, nSize, nComp, cRatio, cMeth, nNum }
         }

         cName          File name
         cFull          File name with path
         dDate          Date of file
         cTime          Time of file
         nSize          Real size of file
         nComp          Compressed size
         cRatio         Compression ratio
         cMeth          Compression method
         nNum           Number of file

    Return:

         An array with information about the contents of ARJ file.

    Example:

         aZIP := ZipFile ( "C:\FastLib\Fast.Zip" )
         For nInd := 1 To Len ( aZIP )
           For nOther := 1 To Len ( aZIP [ nInd ] )
             ? aZIP [ nInd, nOther ]
           Next
         Next

See Also: ArjFile()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson