Can someone please help.

I'm working on getting osis2mod to handle commentaries and  
annotateRef's argument is an osisRef.

So, I am trying to parse an osisRef into a verse list with the  
following but it does not work.

ListKey list = new ListKey();

VerseKey verse;
verse.AutoNormalize(0);
verse.Headings(1);
verse.Persist(1);

ListKey list = verse.ParseVerseList("Gen.1.1-Gen.1.5", 0, true);

// The following should output 3, but it outputs 1
cout << list.Count() << endl;

Many thanks,
    DM






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

Reply via email to