Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>ft_fgoto()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 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

See Also: FT_FRECNO() FT_FGOTOP() FT_FREADLN()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson