Article View: news.software.readers
Article #49047Re: [slrn macro] End of Thread?
From: John E. Davis
Date: Thu, 03 Jun 1999 00:00
Date: Thu, 03 Jun 1999 00:00
21 lines
1335 bytes
1335 bytes
On 3 Jun 1999 15:34:13 GMT, Thomas Schultz <tststs@gmx.de>
wrote:
> forever % loop through article headers
> {
> for (n = thread_size(); n > 1; n--)
> {
> () = header_down(1);
> if (eval(condition)) return;
> }
I think it is cleaner if you write the last loop as:
loop (thread_size () - 1)
{
() = header_down(1);
if (eval(condition)) return;
}
--John
Technical Details
Message-ID:
<slrn7ldrce.iuf.davis@aluche.mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn7ku79b.16m.tststs@starflower.tststs.ddns.org> <slrn7l103g.qd8.bluemoon@ux6.cso.uiuc.edu> <slrn7ld83l.u9.tststs@starflower.tststs.ddns.org>Show Full Headers
Complete Article Headers
Message-ID: <slrn7ldrce.iuf.davis@aluche.mit.edu> Subject: Re: [slrn macro] End of Thread? Date: Thu, 03 Jun 1999 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn7ku79b.16m.tststs@starflower.tststs.ddns.org> <slrn7l103g.qd8.bluemoon@ux6.cso.uiuc.edu> <slrn7ld83l.u9.tststs@starflower.tststs.ddns.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 485410414 X-Complaints-To: usenet@eecs-usenet-02.mit.edu X-Trace: eecs-usenet-02.mit.edu 928443791 10112 18.75.2.45 (3 Jun 1999 21:03:11 GMT) Organization: Center for Space Research User-Agent: slrn/0.9.5.6 (UNIX) Reply-To: davis@space.mit.edu NNTP-Posting-Date: 3 Jun 1999 21:03:11 GMT Newsgroups: news.software.readers