Determining the Number of Choices in a Keyword Section

Sometimes you need to know how many possible selections the user can choose from. You can find the number of choices in a given keyword section by calling the function cl_itemq():

int cl_itemq(clistp)

CLISTPTR clistp;

cl_itemq() returns the number of selections in the current keyword section of the memory file.


Home Contents Previous Next