Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter SixFile Functions (continued)

CreateMappedTextFile Function

Overview

The CreateMappedTextFile function creates a file and then immediately opens the file as a Mapped Text Object.

Syntax/Parameters

Syntax

handle = CreateMappedTextFile ( string name );

Parameters

name

A string containing a fully qualified path and filename.

Return Value

Returns a handle for a Mapped Text Object or NULL_HANDLE on failure. Use the GetLastError function to retrieve error information.

Remarks

Once the CreateMappedTextFile function is called, the Mapped Text Object can be edited by adding, altering, or deleting text; however, the file will not be updated until the object is saved. Mapped Text Object can be edited by adding, altering, or deleting text, however, the file will not be updated until the object is saved.

The user must have read/write access to the directory specified in the name parameter.

Related Functions

Platform Support

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

Legato IDE, Legato Basic