PCOUNT

From Recital Documentation Wiki
Jump to: navigation, search

PURPOSE

The number of parameters passed


SYNONYM

None


SYNOPSIS

#include "dbapi.h"
 
int	PCOUNT
 
<input parameters>
none
 
<output parameters>
none


DESCRIPTION

The function returns the number of parameters passed.


EXAMPLE

The following example returns the number of parameters passed to the 'C' function.

Example Recital program:

m_value=534
m_num_par=numpar(m_value)
return

Example 'C' function:

#include "dbapi.h"
 
dbapi_num_par()
{
    _retl(PCOUNT);
}


SEE ALSO

_parinfo(), _parinfo()