TEXT$Export()

Description

TEXT$Export() is used to export a text file from an EASI multi-line string variable.

Call Signature

void TEXT$Export ( string filename, mstring out_lines )

Return Value

void

This has no return value.

Arguments

string filename:

A string expression evaluating to the name of the file to be exported.

mstring out_lines:

A multi-line expression containing all the information to be written out to the file.

Remarks

If TEXT$Export() fails to create the output file, an error will be generated.

Example

Compose an mstring with three lines and write it to a file.

 local mstring vlist

 vlist[1] = "The first line."
 vlist[2] = "The second line."
 vlist[3] = "The third line."

 call TEXT$Export( "out.txt", vlist )

Deprecated

Use TEXTExport()

See also

Text file functions

TEXT$Import()

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.