%XML_GetLastErrorCode function


Function
The function returns the error code of the last XML operation.
Declaration
INT %XML_GetLastErrorCode()
Parameters
None.
Return value
Error code.
Description
Table of error codes:

Error code

   Description

 0

No error.
-1Invalid handle.
-2Error when opening the document.
-3Error when saving the document.
-4Invalid index in list.
-5Handle to object required.
-6Handle to element required.
-7Handle to document or element required.
-8Document does not satisfy the validation.
-9Unknown/indefinite error.
-10Error during XML action.
-11Other XML Import transaction is being processed.
Example
 INT _errorCode
 _errorCode := %XML_GetLastErrorCode()
 
Napíšte komentár