cl_curnum()

Returns the number of the current item in the choice list

Call  
#include <vv_clist.h>
int cl_curnum(clistp)

CLISTPTR clistp

Pointer to choice list to check

Returns  
INT An integer corresponding to the number of the current item in the choice list
Description

cl_curnum() returns the number of the current item in the choice list.

Related Functions

cli_numtxt(), cli_txtnum(), scl_curnum(), cl_itemq()

Cautions

cl_curnum() is a macro and does no error checking. Macros are not listed by the VCS error reporting system.


Home Contents Previous Next