FT_FREADLN()
Read a line from the currently selected text file
──────────────────────────────────────────────────────────────────────────────

Syntax

FT_FREADLN() -> cLine

Arguments

None

Returns

A string containing the current record in a text file.

Description

This function returns a line of text read from the file in the
currently selected text file workarea. Text lines are delimited
with a CRLF pair. The record pointer is not moved.

A text file "record" is a line of text terminated by a CRLF pair.

Examples

// display each record of a text file
FT_FUSE( "text.c" )
DO WHILE ! FT_FEOF()
? FT_FREADLN()
FT_FSKIP()
ENDDO

Source: FTTEXT.C

Author: Brice de Ganahl and Steve Larsen