Difference between revisions of "ISNUM()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) m (1 revision) |
(No difference)
| |
Revision as of 05:34, 11 April 2013
PURPOSE
Is the parameter a numeric
SYNONYM
None
SYNOPSIS
#include "lianjaapi.h" int ISNUM(order) <input parameters> int order; /* Placement in actual parameter list */ <output parameters> none
DESCRIPTION
The function checks if the specified parameter is a numeric value. It returns 1 if true, or 0 if false. The order specifies the actual placements in the parameter list.
EXAMPLE
The following example returns .T. if the first parameter passed is a numeric value, or .F. otherwise.
Example Lianja script:
m_value=534 m_isnum=check_num(m_value) return
Example 'C' function:
#include "lianjaapi.h" check_num() { _retl( ISNUM(1) ); }
SEE ALSO
_parinfo(), _parinfo(), _parnd(), _parni(), parnl(), _retnd(), retni(), retl(), PCOUNT