sysError | ||||||||||
Type | function | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Summary | Returns the operating system's error status. | |||||||||
Introduced | 1.0 | |||||||||
OS | mac, windows, linux | |||||||||
Platforms | desktop, server | |||||||||
Example |
| |||||||||
Values |
| |||||||||
Related | Keyword: integer Command: close file, kill Function: result, sysError, value Control Structure: function Glossary: error message, command, return, variable | |||||||||
Description | Use the sysError function to obtain the reason a command that makes an operating-system request failed. On Unix systems, the sysError function returns the value of the "errno" variable. On Windows systems, the sysError function returns the value returned by the "GetLastError()" function. |