GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Eight — Data Functions (continued)
Overview
The CSVSetExportFlags function sets flags directing the manner in which CSV data is written by the CSV Object.
Syntax/Parameters
Syntax
int = CSVSetExportFlags ( handle hCSV, dword flags );
Parameters
hCSV
A handle to a valid CSV Object.
flags
A dword containing flags to set.
Return Value
Returns an int as ERROR_NONE or a formatted error code on failure. Use the GetLastError function to retrieve error information.
Remarks
Certain options can be set to control how fields are appended and records written. The bits are as follows:
Define | Bitwise | Description | ||||
CSV_APF_DELIMITER_MASK | 0x000000FF | Delimiter (other than comma) | ||||
CSV_APF_QUOTE_AS_REQUIRED | 0x00010000 | Only Quote if Required (Excel Style) | ||||
CSV_APF_LINE_ENDING_MASK | 0x00F00000 | Line Ending Mask | ||||
CSV_APF_LINE_ENDING_CRLF | 0x00000000 | Line Endings as CR/LF | ||||
CSV_APF_LINE_ENDING_CR | 0x00100000 | Line Endings as CR Only | ||||
CSV_APF_LINE_ENDING_LF | 0x00200000 | Line Endings as LF Only |
The default settings are comma delimiter, full quoting and CR/LF line endings.
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.