Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter Twenty-oneEDGARView Integration (continued)

EDACGetItem Function

Overview

The EDACGetItem function retrieves the data associated with a named field within an EDAC Object.

Syntax/Parameters

Syntax

string = EDACGetItem ( handle hEDAC, string name );

Parameters

hEDAC

A handle to an open EDAC Object.

name

A string containing a well known compound name.

Return Value

Returns a string value or empty on failure. Note that the field can be empty, and as such, the last error must be checked to determine if an error occurred. Use the GetLastError function to retrieve a formatted error code and the GetLastErrorMessage function to retrieve error details.

See ERROR_CONTEXT sub codes at the beginning of this section.

Remarks

Data items are internally stored as strings, boolean, integer ordinals and dates. All are converted to strings as follows:

Strings — Copied as is.

Boolean — 0 for false, 1 for true. When setting the value is tested for a true condition using the logic of the IsTrue function.

Integer Ordinal — A keyword or keywords are returned in the short form as used within the XML representation of the field.

Date — A date in various string formats.

If the name specifies a position that is out of range, an error is returned. The size of a list or table is not altered on read.

Related Functions

Platform Support

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