Function FError() Foundation
Retrieves the error code after completion of a low level file function.
FError() --> nErrorCode
The return value of FError() is the OS error code of the last file operation performed. The error code is an integer numeric value. If no error occurred, FError() returns zero.
Using the low level file function FError(), errors which occur during the execution of a low level file function can be diagnosed after the file function is complete. FClose(), FCreate(), FErase(), FOpen(), Fread(), FReadStr(), FRename(), FSeek() and FWrite() are all low level file functions. FError() stores the last error code internally until a another low level file function is called.
A description of the error code can be retrieved from the OS/2 command line by entering HELP <nErrorCode>.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.