[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FT_FGOTOP()
Go to the first record in a text file
------------------------------------------------------------------------------
Syntax
FT_FGOTOP() -> NIL
Arguments
None
Returns
NIL
Description
This function moves the record pointer to the first record
in the currently selected text file workarea.
A text file "record" is a line of text terminated by a CRLF pair.
Examples
FT_FUSE( "text.c" ) // open text file
DO WHILE !FT_FEOF()
? FT_FREADLN() // read thru file
FT_FSKIP()
ENDDO
FT_FGOTOP() // go back to top
? FT_FRECNO() // 1
Source: FTTEXT.C
Author: Brice de Ganahl and Steve Larsen
See Also:
FT_FSELECT()
FT_FUSE()
FT_FRECNO()
FT_FGOBOT()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson