FT_FDELETE() Deletes a line from the currently selected text file Syntax FT_FDELETE( [ < nLines > ] ) -> NIL 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 NIL 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. 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()
Pingback: FT Text File Management | Viva Clipper !