Difference between revisions of "PCOUNT"

From Lianjapedia
Jump to: navigation, search
 
m (1 revision)
(No difference)

Revision as of 06:34, 11 April 2013

PURPOSE

The number of parameters passed

SYNONYM

None

SYNOPSIS

#include "lianjaapi.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 "lianjaapi.h"
 
lianjaapi_num_par()
{
    _retl(PCOUNT);
}

SEE ALSO

_parinfo(), _parinfo()