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

David "Judah's Shadow" Blue yudahsshadow at gmx.com
Mon Mar 1 09:33:27 EST 2021


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)++) {

Incidentally, this example wouldn't compile for me complaining that operands
are of incompatible types.




More information about the sword-devel mailing list