GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Six — File Functions (continued)
Overview
The MoveToNonBlankLine function finds the next non-blank line within a Mapped Text or Edit Object and returns the index position.
Syntax/Parameters
Syntax
int = MoveToNonBlankLine ( handle hMappedText, int index, [boolean backward] );
Parameters
hMappedText
A handle to valid Mapped Text or Edit Object.
index
An int containing a zero-based index of the line from which to start searching.
backward
A boolean indicating to move backward up the list of lines. If omitted or FALSE, the function scans forward.
Return Value
Returns an int specifying the index of the next non-blank line or a formatted error code on failure. Use the GetLastError function to retrieve error information. If the scan reaches the beginning or end of the file, ERROR_EOD is returned.
Remarks
Blank lines count as empty lines or lines with only white space. If the index parameter specifies a non-blank line, the function will return that index.
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.