FT_FERROR()
Return the error code for a text file operation
Syntax
FT_FERROR() -> nErrorNo
Arguments
None
Returns
The DOS error code if one occurred. See a reference on DOS error
codes for an explanation of what the code means.
Description
This function returns the DOS error code associated with a file
operation on the currently selected text file.
Errors could stem from any open, create, read or write operation,
among others.
Examples
IF FT_FUSE( “text.c” ) < 0 // open text file
err := FT_ERROR()
QOUT( ‘Error opening file “Text.c”, error code (‘ + ;
LTRIM( STR( err ) ) + ‘)’ )
ENDIF
Source: FTTEXT.C
Author: Brice de Ganahl and Steve Larsen
See Also: FT_FUSE() FT_FSELECT() C5_FERROR
Pingback: FT Text File Management | Viva Clipper !