[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FT_FDELETE()
Deletes a line from the currently selected text file
------------------------------------------------------------------------------
Syntax
FT_FDELETE( [ < nLines > ] ) -> lSuccess
Arguments
<nLines> is the number of lines to be eliminated, beginning with
the current record position.
If <nLines> is omitted, the current record is deleted only.
Returns
TRUE if successful, otherwise check ft_fError() for error code.
Description
This function deletes one or several lines of text from the file
in the currently selected text file workarea. Text lines are
delimited with a CRLF pair. The record pointer is not moved,
unless the deleted lines occur at the end of the file, in which
case ft_fRecno() will equal ft_fLastRe() and ft_fEOF()
will be set to TRUE.
Examples
// delete the next 4 lines from a file
FT_FUSE( "test.txt" )
FT_FDELETE( 4 )
Source: FTTEXT.C
Author: Brice de Ganahl and Steve Larsen
See Also:
FT_FAPPEND()
FT_FRECNO()
FT_FINSERT()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson