GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Twenty-one — EDGARView Integration (continued)
Overview
The EDACSetItem function sets a field into an EDAC Object at a named position.
Syntax/Parameters
Syntax
int = EDACSetItem ( handle hEDAC, string name, [string data] );
Parameters
hEDAC
A string containing the response message. Or,
name
A string containing a well known compound name.
data
An optional string value containing the data to load into the named position.
Return Value
Returns an int value as field size or a formatted error code on failure. Use the GetLastError function to retrieve a formatted error code and GetLastErrorMessage function to retrieve textual detail.
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 from a string as follows:
Strings — Copied as is within the limitations of the field. To read the maximum size of a field, omit the data parameter.
Boolean — Sets true for: “true”, “t”, “yes”, “[x]”, “y”, “|x|”, “x”, or “/x/” otherwise set to false. The incoming value is tested using the logic of the IsTrue function.
Integer Ordinal — The keyword must match the keyword used within the XML representation of the field.
Integer — The value is converted to a decimal string.
If the name specifies as position that is out of range, an attempt is made to allocate to that position. If the allocation exceeds internal limited, an error is returned.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.