rem: WMListItem *item; WMBagIterator i; int ok = 0;  WM_ITERATE_BAG(lPtr->items, item, i) { if (strcmp(item->text, title)==0) { ok = 1; break; } }  return ok ? WMBagIndexForIterator(lPtr->items, i) : -1;
add: return WMFindInArray(lPtr->items, matchTitle, title);
context: WMFindRowOfListItemWithTitle(WMList *lPtr, char *title){    WMListItem *item;    WMBagIterator i;    int ok = 0;        WM_ITERATE_BAG(lPtr->items, item, i) {	if (strcmp(item->text, title)==0) {	    ok = 1;	    break;	}    }    return ok ? WMBagIndexForIterator(lPtr->items, i) : -1;}