GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Eleven — SGML Functions (continued)
Overview
The XBRLGetUnit function returns a unit definition’s properties as specified by sorted order position or found by concept or concept and role.
Syntax/Parameters
Syntax
string[] = XBRLGetUnit ( handle hXM, int position);
string[] = XBRLGetUnit ( handle hXM, string id );
Parameters
hXM
A handle to an XBRL Object containing taxonomy information.
position
A zero-based int specifying the sequential position of the record in the sorted unit table. Or,
id
A string specifying the unit id to locate. This must match the id exactly.
Return Value
Returns a string list of unit properties or an empty array on failure. Use the GetLastError function to retrieve a formatted error code.
On success, the last error will contain the position within the unit table was found at.
Remarks
The find uses a fast binary search to locate an exact record.
The list employs the key names specified at Section 11.20.11 Instance — Units.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
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.