(C) 1998 AROS - The Amiga Research OS


NAME
#include <>
#include <proto/commodities.h>

LONG CxObjError (co)

LOCATION
In CxBase at offset 11

SYNOPSIS
CxObj * co

FUNCTION
Obtain the ackumulated error of commodity object 'co'.

INPUTS
co
the object the error of which to get

RESULT
The ackumulated error of the object 'co'. See <libraries/commodities.h> for the possible errors.

EXAMPLE

SEE ALSO
ClearCxObjError()

NOTES

BUGS

INTERNALS
There seems to be some kind of RKRM error here. The RKRM says that COERR_ISNULL is returned if 'co' is NULL. COERR_ISNULL is furthermore defined as 1 in <libraries/commodities.h>. However, in the RESULTS part is says "error - the accumulated error, or 0 if 'co' is NULL". As the commodities.library I have (39.6 I believe) returns 0, I do the same below.

HISTORY
18.07.1999 SDuvan
Finally -- commodities.library