Articles
Forums
Downloads
Autodocs
Home
/
Autodocs
/
dos.library
NAME
SetIoErr
Sets the value returned by
IoErr()
(V36)
SYNOPSIS
oldcode = SetIoErr(code)
D0 D1
LONG SetIoErr(LONG);
FUNCTION
This function sets up the secondary result (pr_Result2) return code (returned by the
IoErr()
function).
INPUTS
code
Code to be returned by a call to IoErr.
RESULT
oldcode
The previous error code.
SEE ALSO
IoErr()
,
Fault()
,
PrintFault()