Deleting an Item from a Choice List

To delete an item in the choice list, call the choice list item delete function, cli_del():

int cli_del(item_num, clistp)
 
int item_num;
/* Item number to delete    
*/
CLISTPTR clistp;
/* Choice list to delete item from
*/

Item numbering starts at 0. The number to access a particular item may change after deleting a row in the choice list.


Home Contents Previous Next