In the usual case, if an error occurs while executing the function, a value less than 0 is returned, and if there is no error, then 0.


Table of error codes

Error code

Meaning

0

Successful completion of the operation

-1

Common error

-1222

Variable missing or not available

-1223

Invalid index

-2222

Source file not found

-2223

File already exists

-2224

Device full

-2225

Insufficient user rights