Wolfgang,

On 06/12/2010 09:43 AM, Wolfgang Schultz wrote:
> for (FFSwordBible->getKey(); !FFSwordBible->getKey()->Error();
> FFSwordBible->getKey()->increment(1)) { }
>   

I haven't looked at the context, so you might be ok, but be sure to
position the module to the top at loop initialization.  The current
initialization clause doesn't do anything.

I use:

for ((*FFSwordBible) = TOP; !FFSwordBible->Error(); (*FFSwordBible)++) { }

You also might want to turn heading on before the loop so you get those
as well:

((VerseKey *)FFSwordBible->getKey())->Headings(true);

Hope this is useful.

Troy

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to