PCOUNT

From Lianjapedia
Jump to: navigation, search

This article is about the Lianja/SDK C API PCOUNT function. For the Lianja Scripting PCOUNT() function see PCOUNT()

PURPOSE

The number of parameters passed

SYNONYM

None

SYNOPSIS

#include "lianja_api.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 Lianja script:

m_value=534
m_num_par=numpar(m_value)
return

Example 'C' function:

#include "lianja_api.h"
 
lianjaapi_num_par()
{
    _retl(PCOUNT);
}

SEE ALSO

_parinfo(), _parinfo()