[sword-devel] Best way to interate through each key in a module

Troy A. Griffitts scribe at crosswire.org
Thu Feb 25 16:40:34 EST 2021


This example might be useful:

https://crosswire.org/svn/sword/trunk/examples/tasks/simpleRange.cpp


On 2/25/21 10:57 AM, David "Judah's Shadow" Blue wrote:
> On Thursday, February 25, 2021 10:17:07 AM EST Troy A. Griffitts wrote:
>> SWBuf verse = "";
>>
>> verse = "jn.2.2";
>>
>> for (verse.size() ? module->setKeyText(verse) : (*module) = sword::TOP;
>> !module->popError(); (*module)++) {
> Hmm....now I need to decide if I want to go outside of my package manager to
> upgrade to 1.9.0 since setKeyText() isn't in 1.8.1 which is in my repos....
>
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page


More information about the sword-devel mailing list