Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter EightData Functions (continued)

CSVSetRecord Function

Overview

The CSVSetRecord function sets a string as the record in a CSV Object.

Syntax/Parameters

Syntax

int = CSVSetRecord ( handle hCSV, string data );

Parameters

hCSV

A handle to a valid CSV Object.

data

A string representing the line of data to be read as CSV. The record cannot be larger than 1,048,575 characters. The string can be delimited by returns in such case each line is treated as a record or row during read.

Return Value

Returns an int as ERROR_NONE or a formatted error code on failure. Use the GetLastError function to retrieve error information.

Remarks

In addition to overwriting the contents of the previous record, the CSVSetRecord function resets any field processing pointers to the beginning of the record.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic