Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter FiveGeneral Functions (continued)

DataObjectWriteFile Function

Overview

The DataObjectWriteFile function writes the entire contents of a Data Object to a file either as a raw image or as a structured object.

Syntax/Parameters

Syntax

int = DataObjectWriteFile ( handle hData, string name );

Parameters

hData

A handle specifying the Data Object.

name

A string containing a qualified filename with path.

Return Value

Returns an int as ERROR_NONE or a formatted error code on failure.

Remarks

The DataObjectWriteFile function does not warn of overwriting an existing file. The script must have access rights to create and write to the file path.

Related Functions

Platform Support

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

Legato IDE, Legato Basic