🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #47941

Re: Slrn: marking article/thread read without moving to next unread?

#47941
From: da... John E. Davis
Date: Mon, 12 Apr 1999 00:00
21 lines
1358 bytes
On 12 Apr 99 16:14:03 GMT, Peppe <c92...@student.dtu.dk>
wrote:
>        variable n = thread_size () - 1;
>        while (n, n--)
>        {
>          () = header_down (1);
>          set_header_flags (HEADER_READ);
>        }

A S-Lang tip: It is probably better to code this using a `loop'
statement:

        loop (thread_size () - 1)
        {
          () = header_down (1);
          set_header_flags (HEADER_READ);
        }

--John
Technical Details
Message-ID: <slrn7h4883.or7.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
References: <slrn7h3o65.jcd.hezu@tuuri.ling.helsinki.fi> <slrn7h472c.6d.c928400@urdybet.pbk.dk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7h4883.or7.davis@aluche.mit.edu>
Subject: Re: Slrn: marking article/thread read without moving to next unread?
Date: Mon, 12 Apr 1999 00:00:00 +0000
From: da...@space.mit.edu (John E. Davis)
References: <slrn7h3o65.jcd.hezu@tuuri.ling.helsinki.fi> <slrn7h472c.6d.c928400@urdybet.pbk.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
X-Deja-AN: 465525903
X-Complaints-To: use...@eecs-usenet-02.mit.edu
X-Trace: eecs-usenet-02.mit.edu 923934982 19140 18.75.2.45 (12 Apr 1999 16:36:22 GMT)
Organization: Center for Space Research
User-Agent: slrn/0.9.5.4 (UNIX)
Reply-To: da...@space.mit.edu
NNTP-Posting-Date: 12 Apr 1999 16:36:22 GMT
Newsgroups: news.software.readers,alt.lang.s-lang