GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Eleven — SGML Functions (continued)
Overview
The SGMLStringToValue function converts a basic measurement to a structure parameter value as a PVALUE (dword).
Syntax/Parameters
Syntax
PVALUE = SGMLStringToValue ( string value )
Parameters
value
A string containing a simple value such as “12pt” or “0.125in”.
Return Value
A PVALUE (dword) as a structured presentation of the data or a formatted error code. Use the GetLastError or IsError to retrieve a formatted error code or to test for an error.
Note that PVALUE values can appear to be errors since they do use the top bit of the dword (0x80000000). Therefore the last error functions must be employed to determine if an error occurred.
Remarks
Structured parameter values can represent measurements, errors, keywords and strings. This function only processes measurements.
Measurements are generally in 100ths of units except for inches which are 10000ths.
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.