xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_OsError()

Returns the operating specific error code of the last low-level file operation.

Syntax

HB_Oserror() --> nLastErrorCode

Return

The function returns a numeric value representing the operating system specific error code of the last low-level file operation.

Description

HB_OsError() is used in the same ways as FError(). The difference is that FError() returns Clipper compatible error codes, while HB_OsError() returns the error code that was actually issued by the operating system. The error codes of both functions may or may not differ for the same error condition.

Info

See also:DosError(), FError()
Category: Error functions , Low level file functions , xHarbour extensions
Source:rtl\philes.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe