Hi.
Another API question.
Is there an inexpensive way of checking whether ListKey contains a
certain key?
For example:
I have a ListKey from "Gen 1:1-5".
Now I need to know if this ListKey contains "Gen 1:3".
Of course I can loop over the ListKey but if exists I would prefer a
better way.
I've tried the following and it seemed to work but I'm not sure this
is correct API usage:
ListKey lk = vk.ParseVerseList("Gen 1:1-5", "Gen1", true);
lk = "Gen 1:3";
BOOL contains = !lk.Error();
Manfred
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page