TEXTRead()

  TEXTClose and TEXTOpen

Description

TEXTRead() is used to read a single line of text from an open text file.

Call Signature

string TEXTRead ( int/string filespec )

Return Value

string

The lines of the text file. "<EOF>" will be returned once the end of file is reached. Trailing newline characters are stripped from the input line before being returned.

Argument

int/string filespec:

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

Remarks

Note: The length of the string returned is variable.

See also

Text file functions

TEXTWrite()

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