🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #44810

Re: slrn Win95: How to mark all groups as read?

#44810
From: John E. Davis
Date: Tue, 24 Nov 1998 00:00
22 lines
1333 bytes
On 23 Nov 98 00:04:44 GMT, Peppe <c928400@student.dtu.dk>
wrote:
>    define catchup_all_groups ()
>    {
>        call ("bob");
>        while (group_down_n (1))
>        {
>            group_up_n (1);
>            call ("catchup");
>        }
>        call ("catchup");
>    }

Keep in mind that group_up_n returns an integer and as you have
currently coded it, this integer is being left on the stack.  You
should write is as:

     () = group_up_n (1);

--John

Technical Details
Message-ID: <slrn75j5oc.cb3.davis@mygir.davis.net>
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
References: <AHY52.6632$DF6.197171@tor-nn1.netcom.ca> <slrn75h9k7.bb.c928400@urdybet.bergsoe.dtu.dk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn75j5oc.cb3.davis@mygir.davis.net>
Subject: Re: slrn Win95: How to mark all groups as read?
Date: Tue, 24 Nov 1998 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <AHY52.6632$DF6.197171@tor-nn1.netcom.ca> <slrn75h9k7.bb.c928400@urdybet.bergsoe.dtu.dk>
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: 415132197
X-Complaints-To: usenet@eecs-usenet-02.mit.edu
X-Trace: eecs-usenet-02.mit.edu 911907283 24212 18.75.2.45 (24 Nov 1998 11:34:43 GMT)
Organization: Center for Space Research
User-Agent: slrn/0.9.5.4 (UNIX)
NNTP-Posting-Date: 24 Nov 1998 11:34:43 GMT
Newsgroups: news.software.readers