[sword-devel] OT and NT files
Troy A. Griffitts
sword-devel@crosswire.org
Mon, 04 Mar 2002 17:14:05 -0700
Joachim,
This was meant for a later announcement, but might be of help in your
case:
SWText subclasses now operate in a similar manner as SWCom subclasses
regarding iteration. a ++ will take you to the next valid entry (not a
symlink to the same entry, not an empty entry). So you might be able to
set to gen 1:1 and ++ then mat 1:1 and ++ to check. Might be a cheezy
way, but should work.
Hope this helps.
-Troy.
Joachim Ansorg wrote:
>
> Hi all!
>
> Is there any mechanism in Sword to see if the files for NT or OT exist? If
> this is possible we can offer only the books of the availablr testaments.
>
> For example the ISV is missing the OT, so BibleTime should only offer the
> books of the NT. Is this possible?
>
> Testing for the files turned out not to be the right way because we don't
> know how files are called in all cases (compression...).
>
> Joachim