TEXTWrite()

  TEXTClose and TEXTOpen

Description

TEXTWrite() is used to write a single line of text to an open text file.

Call Signature

void TEXTWrite ( int/string filespec, string out_string )

Return Value

void

This has no return value.

Arguments

int/string filespec:

This can either be the handle returned by TEXTOpen(), or the filename.

string out_string:

This is a string that will be written to the output file.

Remarks

TEXTWrite() only operates on files opened in write or append mode with TEXTOpen(). It will write successive lines to the text file.

See also

Text file functions

TEXTRead()

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