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: [email protected] > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page _______________________________________________ sword-devel mailing list: [email protected] http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
