Expand/Shrink

The ZIPENTRY type

Definition: include builtins\LiteZip.e

ZIPENTRY ze = new_ZIPENTRY()
-- or --
bool res = ZIPENTRY(object o)
Description: This serves to define the ZIPENTRY type.

You could also call it like an ordinary function to determine whether an object is a ZIPENTRY, though I would quite strongly discourage anyone from relying on that.
pwa/p2js: Not supported
Comments: The ZIPENTRY type is just a simple internal structure that is used to iterate over the contents of a zip file.

While you can of course declare a ZIPENTRY variable without initialising it, or indeed give it a name other than ze, there is no other way to create a valid ZIPENTRY value than by invoking new_ZIPENTRY().

When you have finished using a ZIPENTRY variable, dispose of it using free().
Example:
include builtins\LiteZip.e

ZIPENTRY ze = new_ZIPENTRY()
...
free(ze)
See Also: free