[sword-devel] Chapter and Verse Max
Troy A. Griffitts
scribe at crosswire.org
Fri Apr 25 22:16:48 MST 2008
Currently, the cleanest way to do it is something like:
VerseKey vk = "John 3:16";
vk = MAXVERSE;
cout << vk.Verse(); // should print 36
vk = MAXCHAPTER;
cout << vk.Chapter(); // should print 21
David Trotz wrote:
> Hi all,
> What is the clearest/cleanest way to get the maximum number of chapters
> and verses for the current book and module I have set in a VerseKey
> object? The current way we do it in SwordReader is not very clear and I
> was hoping there was a cleaner way.
> Thanks,
> David Trotz
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel
mailing list