Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter SixFile Functions (continued)

ZipGetFolderCount Function

Overview

The ZipGetFolderCount function returns the total number of discrete folders contained within a zip object.

Syntax/Parameters

Syntax

int = ZipGetFolderCount ( handle hZip );

Parameters

hZip

A handle for a Zip Object created by using the ZipOpen function.

Return Value

Returns an int containing the number of discrete folders contained within the Zip Object or a formatted error code on failure.

Remarks

This function essentially iterates through the entries and counts up the number of discrete folders. Zip Objects need not have folders included with the entry filenames. They can also contain blank or empty folder entries.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic