FT_FGOTO()
Move record pointer to specific record in a text file
──────────────────────────────────────────────────────────────────────────────

Syntax

FT_FGOTO( nLine ) -> NIL

Arguments

<nLine> is the record number to go to.

Returns

NIL

Description

This function moves the record pointer to a specific record
in the file in the currently selected text file workarea. If
the record number requested is greater than the number of records
in the file, the record pointer will be positioned at the last
record.

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

Examples

// read 5th line of text from file
FT_FUSE( "FTTEXT.C" )
FT_FGOTO(5)
cText := FT_FREADLN()

Source: FTTEXT.C

Author: Brice de Ganahl and Steve Larsen