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_fError();
QOUT( 'Error opening file "Text.c", error code (' + ;
LTRIM( STR( err ) ) + ')' )
endif


Source: FTTEXT.C

Author: Brice de Ganahl and Steve Larsen