FT_FERROR()

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

One response to “FT_FERROR()

  1. Pingback: FT Text File Management | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.