Re: [sword-devel] Miscellaneous Sword API Questions

2005-04-19 Thread Troy A. Griffitts
3.) What is the best way to check how many chapters a given book has? Is there a function that returns this, or do I need to deal with the struct that has this information? Officially, MAXCHAPTER is defined as a position entity, so something like: Versekey vk("John"); vk = MAXCHAPTER; cout << vk.C

Re: [sword-devel] Miscellaneous Sword API Questions

2005-04-19 Thread Joachim Ansorg
Hi, > 1.) Can I rely on the values from the "Testament()" function within > VerseKey? In other words, will the Old Testament always be 1 and the New > Testament 2? Would the Apocrypha, for example, be 3? Or would it be 2 and > push the New Testament back to 3? Would the New Testament still be 2

[sword-devel] Miscellaneous Sword API Questions

2005-04-15 Thread Jeremy Erickson
I have a few questions about the Sword API, relevant to coding the Sword plugin for BibleMemorizer 0.3. I plan to have a second identifier for the book in each verse, as there will be some differences between the Sword naming and the default BibleMemorizer plugin (e.g. "Revalation" instead of "