Errno

error_code% = Errno()

Returns error code of last operation.

Example:

FOpen "ThisFileDoesn'tExist", "r", 1

Print "Error: \""; Errno(); "\""

Output

Error: "2"

See also Errno$