Difference between revisions of "PCOUNT"

From Lianjapedia
Jump to: navigation, search
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
''This article is about the Lianja/SDK C API PCOUNT function.  For the Lianja Scripting PCOUNT() function see [[PCOUNT()]]''
 
==PURPOSE==
 
==PURPOSE==
 
The number of parameters passed
 
The number of parameters passed
Line 7: Line 8:
 
==SYNOPSIS==
 
==SYNOPSIS==
 
<code lang="c">
 
<code lang="c">
#include "lianjaapi.h"
+
#include "lianja_api.h"
  
 
int PCOUNT
 
int PCOUNT
Line 36: Line 37:
  
 
<code lang="c">
 
<code lang="c">
#include "lianjaapi.h"
+
#include "lianja_api.h"
  
 
lianjaapi_num_par()
 
lianjaapi_num_par()

Latest revision as of 05:18, 18 October 2013

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()