[sword-devel] Faster searching wanted
Nathan
sword-devel@crosswire.org
Mon, 1 Apr 2002 12:08:26 -0700
>Here's how you'd do it with the books member:
>
>VerseKey key = "jn1:1";
>
>key.books[key.Testament()-1][key.Book()-1].name;
I'm using this method to get the number of chapters and verses for
limiting entries in my interface. Would be nice to have methods for
those.
It also worries me a bit - because this method has no reference to a
particular module. Assuming this information is always the same, I
suppose it isn't a big deal.
- n8
--
Nathan Youngman
E-mail: nathany at mac.com
Web: http://nathany.com