Difference between revisions of "PCOUNT"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "lianjaapi.h" to "lianja_api.h")
Line 1: Line 1:
 +
''This article is about the Lianja/SDK C API PCOUNT function.  For the Lianja Script PCOUNT() function see [[PCOUNT()]]''
 
==PURPOSE==
 
==PURPOSE==
 
The number of parameters passed
 
The number of parameters passed

Revision as of 05:14, 18 October 2013

This article is about the Lianja/SDK C API PCOUNT function. For the Lianja Script 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()