# ERRNAME()

Syntax:

Then: xx = ERRNAME(num_expr)

where "num_expr" is the system error number.

Return value is a text field, the length is the same as the length of the error message text.

Note: System error messages are highly system dependent, and you should not rely on the same error having the same text description on different machines. This function's purpose is to allow some feedback to the user in case of an error.

Version Ref: 4.5

Description:

Returns the name of the specified system error.

Examples:

Then: h = open("/tmp/file.dat")
If: h lt "0"

Then: errorbox "Cannot open file. Error is " < ERRNAME(h)