Difference between revisions of "PCOUNT"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) m (Text replace - "lianjaapi.h" to "lianja_api.h") |
||
Line 7: | Line 7: | ||
==SYNOPSIS== | ==SYNOPSIS== | ||
<code lang="c"> | <code lang="c"> | ||
− | #include " | + | #include "lianja_api.h" |
int PCOUNT | int PCOUNT | ||
Line 36: | Line 36: | ||
<code lang="c"> | <code lang="c"> | ||
− | #include " | + | #include "lianja_api.h" |
lianjaapi_num_par() | lianjaapi_num_par() |
Revision as of 08:51, 11 April 2013
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); }