[sword-devel] Non-Delivery Report

Postmaster sword-devel@crosswire.org
Thu, 15 Jun 2000 09:22:04 -0400

Could not deliver message (ID=654).
Local account 'master' is not enabled for mail.

The first portion of the original message text follows:

Received: from www.crosswire.org by acc.ocad.on.ca (AppleShare IP Mail Server 5.0.2) id 654 via TCP with SMTP; Thu, 15 Jun 2000 09:22:04 -0400
Received: (from majordomo@localhost)
	by www.crosswire.org (8.9.3/8.9.3) id PAA27590
	for sword-devel-outgoing; Mon, 12 Jun 2000 15:08:07 -0700
X-Authentication-Warning: www.crosswire.org: majordomo set sender to owner-sword-devel@crosswire.org using -f
Received: from mail.evergreen.com (mail.evergreen.com [])
	by www.crosswire.org (8.9.3/8.9.3) with ESMTP id PAA27587
	for <sword-devel@crosswire.org>; Mon, 12 Jun 2000 15:08:06 -0700
Received: from crosswire.org (charis.evergreen.com [])
	by mail.evergreen.com (8.10.1/8.10.1) with ESMTP id e5CMJTS17471
	for <sword-devel@crosswire.org>; Mon, 12 Jun 2000 15:19:29 -0700
Message-ID: <39456332.D705F23F@crosswire.org>
Date: Mon, 12 Jun 2000 15:24:50 -0700
From: "Troy A. Griffitts" <scribe@crosswire.org>
Organization: CrossWire Bible Society
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: sword-devel@crosswire.org
Subject: Re: [sword-devel] next chapter / verse in a commentary
References: <00061223443301.27446@joachim>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-sword-devel@crosswire.org
Precedence: bulk
Reply-To: sword-devel@crosswire.org


should give you the next entry in the commentary.  If a commentary has
an entry linked to, say: John 1:1-5 and the key is at John 1:1, a ++ on
the module will force the key to the next entry (NOT John 1:2), like
John 1:6, maybe.  A ++ on the key will go to John 1:2

VerseKey *key = (VerseKey *)(SWKey *)commentary;

should increment from, say John 1:6 to John 2:1, but there may not be an
entry there.  If you want an entry for sure, you could try something
sneaky like:

commentary = MAXVERSE;


VerseKey *key = (VerseKey *)(SWKey *)commentary;

Joachim Ansorg wrote:
> Hi Troy!
> A small question about SWORD.
> How can I get the next/previous verse or chapter of a commentary module?
> You know, not every key has an entry.
> Thanks!
> --Joachim