Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter SixFile Functions (continued)

ZipFindEntry Function

Overview

The ZipFindEntry function searches a Zip Object for a specific item by name.

Syntax/Parameters

Syntax

int = ZipFindEntry ( handle hZip, string name );

Parameters

hZip

A handle for a Zip Object created with the ZipOpen function.

name

A string specifying an entry name. The direction of the slashes is not important.

Return Value

Returns an int containing the zero-based index position of the entry or ERROR_EOD if name is not found. In addition, other formatted error codes can be returned.

Remarks

The slashes and text case of the name parameter is not checked.

Related Functions

Platform Support

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

Legato IDE, Legato Basic