Status
Previous  Top  Next

:Status - File Status of Zip File.

Attributes

EXPORTED READONLY  

Datatype

Numeric (XBZ_FILE_NO_ENTRIES)  

Description

This instance variable contains the current (Error) Status Code of the Zip File. This value is updated by various Methods, including the :New(), :Open(), :Directory(), :Test() and :Fix() Methods, and is initially set to the constant XBZ_FILE_NO_ENTRIES. It can be queried/retrieved from outside the Class, but only set through (the above mentioned) methods or by the :AutoFix() method, which can receive a new value from a CodeBlock that was set in the :OnCorruption CallBack Slot.  
 
Possible values are the following Define Constants from the XbZLib.ch file:  
 
Define
Value
Description
XBZ_FILE_OK
0
All Entries in Zip File are OK.
XBZ_FILE_NO_DIR
1
No Central Directory Found.
XBZ_FILE_NO_ENTRIES
2
No Entries found in Central Directory.
XBZ_FILE_CORRUPT
3
Corrupt Entries found in Zip File.