ISLOG()

From Recital Documentation Wiki
Jump to: navigation, search

PURPOSE

Is the parameter a logical


SYNONYM

None


SYNOPSIS

#include "dbapi.h"
 
int	ISLOG(order)
 
<input parameters>
int	order;		/* Placement in actual parameter list		*/
 
<output parameters>
none


DESCRIPTION

The function checks if the specified parameter is logical. 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 logical, or .F. otherwise.

Example Recital program:

m_values =  deleted()
m_islog=check_log(m_values)
return

Example 'C' function:

#include "dbapi.h"
 
check_log()
{
    _retl(ISLOG(1));
}


SEE ALSO

_parinfa(), _parinfo(), _parl(), _parni(), _retl(), _retni(), PCOUNT