Thanks that fixed my problem. Finally this has been the major thing
thats been bothering me with MacSword for a long time.
On a final note: the Luther module gives top as 2,9,2 (testament, book,
verse) and bottom as 2,10,1. However it doesn't include Ephesians, can
you assume a bottom verse of
I found the problem,
you have to call module->setSkipConsecutiveLinks(true) before you test for the
books. Set it to the default value false after all tests.
So the code would look in C++ this way:
module()->setSkipConsecutiveLinks(true);
sword::VerseKey top, bottom;
*module() = sword::BO
Joachim,
I looked at BibleTime, and in the end I opted for my own similar
method, that managed to get modules such as Luther to list only
Galations. Using ObjC, but should be pretty clear.
VerseKey top, bottom;
books = [[NSMutableArray alloc] init];
*module = BOTTOM;
bottom = module->KeyText(
Dear Will,
in BibleTime we managed to check whether a module contains only a new
testament, only an old testament or both.
Is this what you wanted to check or wanted you to check every book is it
exists?
If you wanted to do the first I think I can give you some hints.
Joachim
> Hi,
>
> I've b