ISOBJECT()
From Recital Documentation Wiki
PURPOSE
Is the parameter an object
SYNONYM
None
SYNOPSIS
#include "dbapi.h" int ISOBJECT(order) <input parameters> int order; /* Placement in actual parameter list */ <output parameters> none
DESCRIPTION
The function checks if the specified parameter is a Recital OBJECT. It returns 1 if true, or 0 if false. The order specifies the actual placements in the parameter list.
EXAMPLE
The following example returns .T. if the first parameter passed is a Recital OBJECT, or .F. otherwise.
Example Recital program:
m_values = NEWOBJECT('MyClass") m_isobj=check_obj(m_values) return
Example 'C' function:
#include "dbapi.h" check_obj() { _retl(ISOBJECT(1)); }