Returning the system error number (sys.Errno)ΒΆ


System error number

The system error number. A value is assigned to sys.Errno whenever an operating system routine returns an error status. On UNIX systems, the values for sys.Errno are listed in the include file <sys/errno.h>.

Sculptor error numbers are returned in sys.Error.


caption "System error " + tostr(sys.Errno) / " generated"
ErrMsg = "Error saving file - system error number " + tostr(sys.Errno)